Skip to content

Commit

Permalink
add energy and angular resolution rewrite rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Mar 6, 2024
1 parent c1ecb70 commit 1b412ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pynxtools_mpes/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def iterate_dictionary(dic, key_string):
"momentum_resolution": "RESOLUTION[momentum_resolution]/resolution",
"temporal_resolution": "RESOLUTION[temporal_resolution]/resolution",
"spatial_resolution": "RESOLUTION[spatial_resolution]/resolution",
"angular_resolution": "RESOLUTION[angular_resolution]/resolution",
"sample_temperature": "temperature_sensor/value",
}

Expand All @@ -191,12 +192,18 @@ def iterate_dictionary(dic, key_string):
"beam_TYPE[beam]/Probe": "beam_TYPE[beam_probe]",
"beam_TYPE[beam]/Pump": "beam_TYPE[beam_pump]",
"sample_history": "sample_history/notes",
"ELECTRONANALYSER[electronanalyser]/RESOLUTION[energy_resolution]": (
"ELECTRONANALYSER[electronanalyser]/energy_resolution"
),
"ELECTRONANALYSER[electronanalyser]/RESOLUTION[momentum_resolution]": (
"ELECTRONANALYSER[electronanalyser]/momentum_resolution"
),
"ELECTRONANALYSER[electronanalyser]/RESOLUTION[spatial_resolution]": (
"ELECTRONANALYSER[electronanalyser]/spatial_resolution"
),
"ELECTRONANALYSER[electronanalyser]/RESOLUTION[angular_resolution]": (
"ELECTRONANALYSER[electronanalyser]/angular_resolution"
),
"SAMPLE[sample]/gas_pressure": "INSTRUMENT[instrument]/pressure_gauge/value",
"SAMPLE[sample]/temperature": (
"INSTRUMENT[instrument]/MANIPULATOR[manipulator]/temperature_sensor/value"
Expand Down

0 comments on commit 1b412ce

Please sign in to comment.