Skip to content

Commit

Permalink
Merge pull request #10 from FAIRmat-NFDI/switch_to_multi_format_reader2
Browse files Browse the repository at this point in the history
thanks @lukaspie 
I will take a look later to remove the @url stuff.
  • Loading branch information
RonHildebrandt authored Nov 21, 2024
2 parents 6aae6d2 + 2effc99 commit 4cc932c
Show file tree
Hide file tree
Showing 13 changed files with 3,879 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ cython_debug/
.pyenv
*.pyc
*.txt
!tests/data-multi/.txt
!examples/witec/txt/*.txt
!requirements.txt
!dev-requirements.txt
build/
Expand Down
12 changes: 12 additions & 0 deletions examples/witec/txt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## WITEC example Raman Multiformat Reader
This is an example dataset to convert a .txt file
(exported ASCII file, Si-wafer-Raman-Spectrum-1.txt) with the addition of a ELN
data file (eln_data.yaml) to a NeXus file.

## How to use
- 1. Go into the root folder of this repository (default "pynxtools-raman")
- 2. Copy and paste:
```
dataconverter examples/witec/txt/eln_data.yaml examples/witec/txt/Si-wafer-Raman-Spectrum-1.txt examples/witec/txt/config_file.json --reader raman_multi --nxdl NXraman --output examples/witec/txt/new_output.nxs
```
- 3. A new file should be created at "examples/witec/txt/new_output.nxs".
Loading

0 comments on commit 4cc932c

Please sign in to comment.