Skip to content

Commit

Permalink
Merge pull request #34 from FAIRmat-NFDI/mode-mapping-for-scienta-reader
Browse files Browse the repository at this point in the history
Acquisition mode mapping for scienta txt reader
  • Loading branch information
lukaspie committed Apr 12, 2024
2 parents 35baae6 + b5660fb commit 20e4692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynxtools_xps/scienta/scienta_txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def _change_scan_mode(acquisition_mode: str):
the allowed values in NXmpes.
"""
mode_map = {"Fixed": "fixed", "Swept": "sweep"}
mode_map = {"Fixed": "fixed_energy", "Swept": "fixed_analyser_transmission"}
if acquisition_mode in mode_map:
return mode_map[acquisition_mode]
return None
Expand Down

0 comments on commit 20e4692

Please sign in to comment.