Skip to content

Commit

Permalink
Merge branch 'conversion_updates' into TestFitInpynxtools
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Jun 4, 2024
2 parents 86ab7fe + 0480e77 commit c8a6c62
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pynxtools_mpes/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,16 @@ def iterate_dictionary(dic, key_string):
"angular_resolution": "RESOLUTION[angular_resolution]/resolution",
"sample_temperature": "temperature_sensor/value",
"drain_current": "drain_current_amperemeter/value",
"photon_energy": "energy",
}

REPLACE_NESTED = {
"SAMPLE[sample]/chemical_formula": "SAMPLE[sample]/SUBSTANCE[substance]/molecular_formula_hill",
"source_TYPE[source]/Probe": "sourceTYPE[source_probe]",
"source_TYPE[source]/Pump": "sourceTYPE[source_pump]",
"beam_TYPE[beam]/Probe": "beamTYPE[beam_probe]",
"beam_TYPE[beam]/Pump": "beamTYPE[beam_pump]",
"sample_history": "sample_history/notes",
"sourceTYPE[source]/Probe": "sourceTYPE[source_probe]",
"sourceTYPE[source]/Pump": "sourceTYPE[source_pump]",
"beamTYPE[beam]/Probe": "beamTYPE[beam_probe]",
"beamTYPE[beam]/Pump": "beamTYPE[beam_pump]",
"sample_history": "history/notes/description",
"ELECTRONANALYSER[electronanalyser]/RESOLUTION[energy_resolution]": (
"ELECTRONANALYSER[electronanalyser]/energy_resolution"
),
Expand Down

0 comments on commit c8a6c62

Please sign in to comment.