Skip to content

Commit

Permalink
enable parsing of scienta hdf5 files
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Nov 13, 2024
1 parent 7227c8a commit 07a819e
Show file tree
Hide file tree
Showing 6 changed files with 483 additions and 141 deletions.
42 changes: 21 additions & 21 deletions src/pynxtools_xps/config/config_scienta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"experiment_institution":"@eln",
"experiment_facility":"@eln",
"experiment_laboratory":"@eln",
"data_file":"@attrs:file_info/data_file",
"sequence_file":"@attrs:file_info/sequence_file"
"data_file":"@attrs:data_file",
"sequence_file":"@attrs:sequence_file"
},
"/ENTRY/USER[user]":{
"name":"@attrs:user/user_name",
"name":"@attrs:user_name",
"affiliation":"@eln",
"address":"@eln",
"email":"@eln",
Expand All @@ -24,7 +24,7 @@
},
"/ENTRY/INSTRUMENT[instrument]":{
"@default":"electronanalyser",
"name":"@attrs:instrument/instrument_name",
"name":"@attrs:instrument_name",
"device_information":{
"vendor":"@eln",
"model":"@eln",
Expand All @@ -37,8 +37,8 @@
"energy_resolution":{
"physical_quantity":"energy",
"type":"derived",
"resolution":"@attrs:region/step_size",
"resolution/@units":"@attrs:region/step_size/@units"
"resolution":"@attrs:step_size",
"resolution/@units":"@attrs:step_size/@units"
},
"sourceTYPE[source_xray]":{
"type":"@eln",
Expand All @@ -58,8 +58,8 @@
"beamTYPE[beam_xray]":{
"distance":"@eln",
"distance/@units":"@eln",
"incident_energy":"@attrs:beam_xray/excitation_energy",
"incident_energy/@units":"@attrs:beam_xray/excitation_energy/@units",
"incident_energy":"@attrs:excitation_energy",
"incident_energy/@units":"@attrs:excitation_energy/@units",
"incident_energy_spread":null,
"incident_energy_spread/@units":null,
"incident_polarization":null,
Expand Down Expand Up @@ -87,13 +87,13 @@
"energy_resolution":{
"physical_quantity":"energy",
"type":"derived",
"resolution":"@attrs:region/step_size",
"resolution/@units":"@attrs:region/step_size/@units"
"resolution":"@attrs:step_size",
"resolution/@units":"@attrs:step_size/@units"
},
"transmission_function":null,
"COLLECTIONCOLUMN[collectioncolumn]":{
"scheme":"@eln",
"lens_mode":"@attrs:collectioncolumn/lens_mode",
"lens_mode":"@attrs:lens_mode",
"projection":null,
"angular_acceptance":null,
"spatial_acceptance":null,
Expand All @@ -112,9 +112,9 @@
},
"ENERGYDISPERSION[energydispersion]":{
"scheme":"@eln",
"pass_energy":"@attrs:energydispersion/pass_energy",
"pass_energy/@units":"@attrs:energydispersion/pass_energy/@units",
"energy_scan_mode":"@attrs:energydispersion/acquisition_mode",
"pass_energy":"@attrs:pass_energy",
"pass_energy/@units":"@attrs:pass_energy/@units",
"energy_scan_mode":"@attrs:acquisition_mode",
"APERTURE[entrance_slit]":{
"description":"@eln",
"shape":"@eln",
Expand All @@ -135,8 +135,8 @@
"DETECTOR[detector]":{
"@default":"raw_data",
"amplifier_type":"@eln",
"count_time":"@attrs:detector/dwell_time",
"count_time/@units":"@attrs:detector/dwell_time/@units",
"count_time":"@attrs:dwell_time",
"count_time/@units":"@attrs:dwell_time/@units",
"detector_type":"@eln",
"device_information":{
"vendor":"@eln",
Expand Down Expand Up @@ -246,7 +246,7 @@
"transmission_correction":null
},
"/ENTRY/SAMPLE[sample]":{
"name":"@attrs:sample/sample_name",
"name":"@attrs:sample_name",
"identifier":{
"identifier":"@eln"
},
Expand Down Expand Up @@ -292,12 +292,12 @@
"@signal":"data",
"data":"@data:average",
"data_errors":"@data:errors",
"data/@units":"@attrs:region/intensity/@units",
"data/@units":"@attrs:intensity/@units",
"DATA[*]":"@data:*.scans",
"DATA[*]/@units":"@attrs:region/intensity/@units",
"DATA[*]/@units":"@attrs:intensity/@units",
"energy":"@data:energy",
"energy/@type":"@attrs:region/energy_scale",
"energy/@units":"@attrs:region/energy_axis/@units",
"energy/@type":"@attrs:energy_scale",
"energy/@units":"@attrs:energy_axis/@units",
"@energy_indices":0
}
}
Loading

0 comments on commit 07a819e

Please sign in to comment.