Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First multi reader version #10

Merged
merged 13 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading