Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions base_classes/nyaml/NXinstrument.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@ doc: |
type: group
NXinstrument(NXobject):
name:
doc: |
doc: |
Name of instrument
\@short_name:
doc: |
doc: |
short name for instrument, perhaps the acronym
energy_resolution(NX_FLOAT):
unit: NX_ENERGY
doc: |
doc: |
Energy resolution of the experiment (FWHM or gaussian broadening)
momentum_resolution(NX_FLOAT):
unit: NX_WAVENUMBER
doc: |
doc: |
Momentum resolution of the experiment (FWHM)
angular_resolution(NX_FLOAT):
unit: NX_ANGLE
doc: |
doc: |
Angular resolution of the experiment (FWHM)
spatial_resolution(NX_FLOAT):
unit: NX_LENGTH
doc: |
doc: |
Spatial resolution of the experiment (Airy disk radius)
temporal_resolution(NX_FLOAT):
unit: NX_TIME
doc: |
doc: |
Temporal resolution of the experiment (FWHM)
(NXaperture):
(NXattenuator):
Expand Down Expand Up @@ -66,7 +66,7 @@ NXinstrument(NXobject):
(NXxraylens):
(NXenvironment):
\@default:
doc: |
doc: |
.. index':'':' plotting

Declares which child group contains a path leading
Expand Down
34 changes: 27 additions & 7 deletions contributed_definitions/nyaml/NXmpes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,21 @@ category: application
NXmpes:
(NXentry):
title:
exists: recommended
start_time(NX_DATE_TIME):
doc: "Datetime of the start of the measurement."
end_time(NX_DATE_TIME):
exists: recommended
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see also my comments in the NXmpes_xps PR:
#30 (comment)

definition:
\@version:
enumeration: ["NXmpes"]
enumeration: ["NXmpes"] # ISO 18115
method: # ISO 18115
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a proper doc string

(NXuser):
doc: "Contact information of at least the user of the instrument or the
investigator who performed this experiment.
Adding multiple users if relevant is recommended."
name:
exists: recommended
doc: "Name of the user."
affiliation:
exists: recommended
Expand All @@ -28,14 +33,17 @@ NXmpes:
doc: "Full address (street, street number, ZIP, city, country) of the
user's affiliation."
email:
exists: recommended
doc: "Email address of the user."
orcid:
exists: recommended
doc: "Author ID defined by https://orcid.org/."
(NXinstrument):
energy_resolution(NX_FLOAT):
exist: recommended
unit: NX_ENERGY
(NXsource):
source_beam(NXsource): # TODO: Add linking between source and beam
# TODO: Much more information possible
doc: "The source used to generate the primary photons. Properties refer strictly to parameters of the source, not of the output beam.
For example, the energy of the source is not the optical power of the beam, but the energy of the electron beam in a synchrotron and so on."
type:
Expand All @@ -48,13 +56,22 @@ NXmpes:
"Optical Laser",
"UV Plasma Source",
"Metal Jet X-ray",
"HHG laser"
"HHG laser",
"UV lamp",
"other"
]
type_other:
exists: optional
doc: Specification of type, may also go to name
# TODO:
name:
exists: recommended
probe:
doc: "Type of probe. In photoemission it's always photons, so the full NIAC list is restricted."
enumeration: ["x-ray","ultraviolet", "visible light"]
(NXbeam):
doc: |
Type of probe. In photoemission it's always photons, so the full NIAC list is restricted"
enumeration: ["photons"]
beam_probe(NXbeam): # TODO: Add linking between source and beam
# TODO: Maybe add extend as recommended
distance(NX_NUMBER):
doc: "Distance of the point of evaluation of the beam from the sample surface."
unit: NX_LENGTH
Expand All @@ -67,7 +84,8 @@ NXmpes:
exists: recommended
unit: NX_ANY
(NXelectronanalyser):
description:
model(NXfabrication):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe manufacturer, model, and serial number could be recommended here.

exists: recommended
energy_resolution(NX_FLOAT):
exists: recommended
doc: "Energy resolution of the analyser with the current setting. May be linked from a NXcalibration."
Expand Down Expand Up @@ -160,6 +178,7 @@ NXmpes:
calibrated_axis(NX_FLOAT):
exists: recommended
doc: "This is the calibrated energy axis to be used for data plotting."
# TODO:
angular_calibration(NXcalibration):
exists: optional
applied(NX_BOOLEAN):
Expand Down Expand Up @@ -223,6 +242,7 @@ NXmpes:
# Similar situation here, ca be a single number or a log.
gas_pressure(NX_FLOAT):
unit: NX_PRESSURE
(NXtransformations): # TODO: Add this here?
(NXdata):
\@signal:
enumeration: ["data"] # There is an object named data that contains the signal
Expand Down