diff --git a/pynxtools/dataconverter/readers/xps/config/template.json b/pynxtools/dataconverter/readers/xps/config/template.json index 87acfe03c..a40ddffd7 100644 --- a/pynxtools/dataconverter/readers/xps/config/template.json +++ b/pynxtools/dataconverter/readers/xps/config/template.json @@ -1,159 +1,245 @@ { - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/angular_acceptance": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/contrast_aperture": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/device_information/identifier": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/device_information/model": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/device_information/vendor": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/field_aperture": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/iris": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/mode": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/projection": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/scheme": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/COLLECTIONCOLUMN[collectioncolumn]/spatial_acceptance": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/DETECTOR[detector]/amplifier_type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/DETECTOR[detector]/detector_type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/DETECTOR[detector]/device_information/identifier": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/DETECTOR[detector]/device_information/model": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/DETECTOR[detector]/device_information/vendor": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/DETECTOR[detector]/raw_data/@signal": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/DETECTOR[detector]/raw_data/raw": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/device_information/identifier": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/device_information/model": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/device_information/vendor": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/energy_scan_mode": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/entrance_slit": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/exit_slit": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/pass_energy": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/pass_energy/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/ENERGYDISPERSION[energydispersion]/scheme": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/description": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/device_information/identifier": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/device_information/model": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/device_information/vendor": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/energy_resolution/physical_quantity": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/energy_resolution/resolution": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/energy_resolution/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/fast_axes": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/slow_axes": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/transmission_function": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/work_function": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/ELECTRONANALYSER[electronanalyser]/work_function/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/cryostat/PID[pid]/setpoint": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/cryostat/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/cryostat/physical_quantity": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/cryostat/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/device_information/identifier": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/device_information/model": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/device_information/vendor": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/drain_current_amperemeter/measurement": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/drain_current_amperemeter/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/drain_current_amperemeter/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/drain_current_amperemeter/value": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_potentiostat/PID[pid]/setpoint": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_potentiostat/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_potentiostat/physical_quantity": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_potentiostat/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_voltmeter/measurement": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_voltmeter/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_voltmeter/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_bias_voltmeter/value": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_heater/PID[pid]/setpoint": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_heater/heater_power": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_heater/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_heater/physical_quantity": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/sample_heater/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/temperature_sensor/measurement": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/temperature_sensor/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/temperature_sensor/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/MANIPULATOR[manipulator]/temperature_sensor/value": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/associated_source": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/distance": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/distance/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/extent": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/incident_energy": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/incident_energy/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/incident_energy_spread": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/incident_energy_spread/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/incident_polarization": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/beam_TYPE/incident_polarization/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/device_information/identifier": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/device_information/model": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/device_information/vendor": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/energy_resolution/physical_quantity": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/energy_resolution/resolution": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/energy_resolution/resolution/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/energy_resolution/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/flood_gun/current": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/flood_gun/current/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/flood_gun/current_log/value": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/flood_gun/current_log/value/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/flood_gun/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/flood_gun/physical_quantity": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/flood_gun/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/pressure_gauge/measurement": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/pressure_gauge/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/pressure_gauge/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/pressure_gauge/value": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/pressure_gauge/value/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/pressure_gauge/value_log/value": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/pressure_gauge/value_log/value/@units": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/associated_beam": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/device_information/identifier": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/device_information/model": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/device_information/vendor": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/name": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/probe": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/type": "None", - "/ENTRY[entry]/INSTRUMENT[instrument]/source_TYPE/type_other": "None", - "/ENTRY[entry]/PROCESS[process]/angular_calibration/calibrated_axis": "None", - "/ENTRY[entry]/PROCESS[process]/energy_calibration/calibrated_axis": "None", - "/ENTRY[entry]/PROCESS[process]/energy_referencing/binding_energy": "None", - "/ENTRY[entry]/PROCESS[process]/energy_referencing/calibrated_axis": "None", - "/ENTRY[entry]/PROCESS[process]/energy_referencing/level": "None", - "/ENTRY[entry]/PROCESS[process]/energy_referencing/offset": "None", - "/ENTRY[entry]/PROCESS[process]/energy_referencing/reference_peak": "None", - "/ENTRY[entry]/PROCESS[process]/momentum_calibration/calibrated_axis": "None", - "/ENTRY[entry]/PROCESS[process]/spatial_calibration/calibrated_axis": "None", - "/ENTRY[entry]/PROCESS[process]/transmission_correction/transmission_function/@axes": "None", - "/ENTRY[entry]/PROCESS[process]/transmission_correction/transmission_function/@signal": "None", - "/ENTRY[entry]/PROCESS[process]/transmission_correction/transmission_function/kinetic_energy": "None", - "/ENTRY[entry]/PROCESS[process]/transmission_correction/transmission_function/kinetic_energy/@units": "None", - "/ENTRY[entry]/PROCESS[process]/transmission_correction/transmission_function/relative_intensity": "None", - "/ENTRY[entry]/SAMPLE[sample]/SAMPLE_HISTORY[sample_history]/sample_preparation/end_time": "None", - "/ENTRY[entry]/SAMPLE[sample]/SAMPLE_HISTORY[sample_history]/sample_preparation/method": "None", - "/ENTRY[entry]/SAMPLE[sample]/SAMPLE_HISTORY[sample_history]/sample_preparation/start_time": "None", - "/ENTRY[entry]/SAMPLE[sample]/SUBSTANCE[substance]/molecular_formula_hill": "None", - "/ENTRY[entry]/SAMPLE[sample]/atom_types": "None", - "/ENTRY[entry]/SAMPLE[sample]/bias": "None", - "/ENTRY[entry]/SAMPLE[sample]/bias/potentiostat": "None", - "/ENTRY[entry]/SAMPLE[sample]/bias/voltmeter": "None", - "/ENTRY[entry]/SAMPLE[sample]/drain_current": "None", - "/ENTRY[entry]/SAMPLE[sample]/drain_current/amperemeter": "None", - "/ENTRY[entry]/SAMPLE[sample]/flood_gun_current": "None", - "/ENTRY[entry]/SAMPLE[sample]/flood_gun_current/flood_gun": "None", - "/ENTRY[entry]/SAMPLE[sample]/gas_pressure": "None", - "/ENTRY[entry]/SAMPLE[sample]/gas_pressure/pressure_gauge": "None", - "/ENTRY[entry]/SAMPLE[sample]/name": "None", - "/ENTRY[entry]/SAMPLE[sample]/physical_form": "None", - "/ENTRY[entry]/SAMPLE[sample]/situation": "None", - "/ENTRY[entry]/SAMPLE[sample]/temperature": "None", - "/ENTRY[entry]/SAMPLE[sample]/temperature/cryostat": "None", - "/ENTRY[entry]/SAMPLE[sample]/temperature/sample_heater": "None", - "/ENTRY[entry]/SAMPLE[sample]/temperature/temperature_sensor": "None", - "/ENTRY[entry]/USER[user]/affiliation": "None", - "/ENTRY[entry]/USER[user]/name": "None", - "/ENTRY[entry]/data/@energy_depends": "None", - "/ENTRY[entry]/data/@energy_indices": "None", - "/ENTRY[entry]/data/@signal": "None", - "/ENTRY[entry]/data/data": "None", - "/ENTRY[entry]/data/data/@units": "None", - "/ENTRY[entry]/data/energy": "None", - "/ENTRY[entry]/data/energy/@type": "None", - "/ENTRY[entry]/data/energy/@units": "None", - "/ENTRY[entry]/definition": "None", - "/ENTRY[entry]/definition/@version": "None", - "/ENTRY[entry]/end_time": "None", - "/ENTRY[entry]/method": "None", - "/ENTRY[entry]/start_time": "None", - "/ENTRY[entry]/title": "None" -} + "/@default":"None", + "/ENTRY[entry]":{ + "@default":"data", + "definition":"None", + "definition/@version":"None", + "title":"None", + "start_time":"None", + "end_time":"None", + "method":"None" + }, + "/ENTRY[entry]/USER[user]":{ + "name":"None", + "affiliation":"None" + }, + "/ENTRY[entry]/INSTRUMENT[instrument]":{ + "device_information":{ + "vendor":"None", + "identifier":"None", + "model":"None" + }, + "energy_resolution":{ + "physical_quantity":"energy", + "type":"None", + "resolution":"None", + "resolution/@units":"None" + }, + "source_TYPE[source_probe]":{ + "type":"None", + "type_other":"None", + "name":"None", + "probe":"None", + "device_information":{ + "vendor":"None", + "identifier":"None", + "model":"None" + }, + "associated_beam":"None" + }, + "beam_TYPE[beam_probe]":{ + "distance":"None", + "distance/@units":"None", + "incident_energy":"None", + "incident_energy/@units":"None", + "incident_energy_spread":"None", + "incident_energy_spread/@units":"None", + "incident_polarization":"None", + "incident_polarization/@units":"None", + "extent":"None", + "associated_source":"None" + }, + "ELECTRONANALYSER[electronanalyser]":{ + "@default": "None", + "description":"None", + "work_function":"None", + "work_function/@units":"None", + "fast_axes":"None", + "slow_axes":"None", + "device_information":{ + "vendor":"None", + "model":"None", + "identifier":"None" + }, + "energy_resolution":{ + "physical_quantity":"energy", + "type":"None", + "resolution":"None" + }, + "transmission_function":"None", + "COLLECTIONCOLUMN[collectioncolumn]":{ + "scheme":"None", + "lens_mode":"None", + "projection":"None", + "angular_acceptance":"None", + "spatial_acceptance":"None", + "field_aperture":"None", + "contrast_aperture":"None", + "iris":"None", + "device_information":{ + "vendor":"None", + "model":"None", + "identifier":"None" + } + }, + "ENERGYDISPERSION[energydispersion]":{ + "scheme":"None", + "pass_energy":"None", + "pass_energy/@units":"None", + "energy_scan_mode":"None", + "entrance_slit":"None", + "exit_slit":"None", + "device_information":{ + "vendor":"None", + "model":"None", + "identifier":"None" + } + }, + "DETECTOR[detector]":{ + "@default":"raw_data", + "amplifier_type":"None", + "detector_type":"None", + "device_information":{ + "vendor":"None", + "model":"None", + "identifier":"None" + }, + "raw_data":{ + "@signal":"None", + "@default":"raw", + "raw":"None" + } + } + }, + "MANIPULATOR[manipulator]":{ + "device_information":{ + "vendor":"None", + "model":"None", + "identifier":"None" + }, + "temperature_sensor":{ + "name":"None", + "measurement":"None", + "type":"None", + "value":"None" + }, + "sample_heater":{ + "name":"None", + "physical_quantity":"None", + "type":"None", + "heater_power":"None", + "PID[pid]/setpoint":"None" + }, + "cryostat":{ + "name":"None", + "physical_quantity":"None", + "type":"None", + "PID[pid]/setpoint":"None" + }, + "drain_current_amperemeter":{ + "name":"None", + "measurement":"None", + "type":"None", + "value":"None" + }, + "sample_bias_voltmeter":{ + "name":"@eln", + "measurement":"@eln", + "type":"@eln", + "value":"@eln" + }, + "sample_bias_potentiostat":{ + "name":"None", + "physical_quantity":"None", + "type":"None", + "PID[pid]/setpoint":"None" + } + }, + "pressure_gauge":{ + "name":"None", + "measurement":"None", + "type":"None", + "value":"None", + "value_log/value":"None" + }, + "flood_gun":{ + "name":"None", + "physical_quantity":"None", + "type":"None", + "current":"None", + "current/@units":"None", + "current_log/value":"None", + "current_log/value/@units":"None" + } + }, + "/ENTRY[entry]/PROCESS[process]":{ + "angular_calibration":{ + "calibrated_axis":"None" + }, + "energy_calibration":{ + "calibrated_axis":"None", + }, + "energy_referencing":{ + "level":"None", + "reference_peak":"None", + "binding_energy":"None", + "offset":"None", + "calibrated_axis":"None" + }, + "transmission_correction":{ + "transmission_function":{ + "@axes":"None", + "@signal":"None", + "kinetic_energy":"None", + "kinetic_energy/@units":"None", + "relative_intensity":"None" + } + } + }, + "/ENTRY[entry]/SAMPLE[sample]":{ + "name":"None", + "atom_types":"@eln", + "physical_form":"None", + "situation":"None", + "SUBSTANCE[substance]":{ + "molecular_formula_hill":"None" + }, + "sample_history":{ + "sample_preparation":{ + "start_time":"None", + "end_time":"None", + "method":"None" + } + }, + "temperature":{ + "temperature_sensor": "None", + "sample_heater":"None", + "cryostat":"None" + }, + "gas_pressure":{ + "pressure_gauge":"None" + }, + "bias":{ + "potentiostat":"None", + "voltmeter":"None" + }, + "drain_current":{ + "amperemeter":"None" + }, + "flood_gun_current":{ + "flood_gun":"@None" + } + }, + "/ENTRY[entry]/data":{ + "@signal":"data", + "@default":"data", + "@axes":["energy"], + "data":"None", + "data/@units":"None", + "energy":"None", + "energy/@type":"None", + "energy/@units":"None", + "@energy_indices":"None", + "@energy_depends":"None" + } + } \ No newline at end of file