Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider interpreting naming conventions from the Nexus format #61

Open
SimonHeybrock opened this issue Oct 14, 2022 · 0 comments
Open

Comments

@SimonHeybrock
Copy link
Member

SimonHeybrock commented Oct 14, 2022

See https://manual.nexusformat.org/datarules.html?highlight=uncertainties#rules-for-storing-data-items-in-nexus-files, specifically the "Reserved suffixes", e.g., _mask is something we could handle:

Reserved suffixes

When naming a field, NeXus has reserved certain suffixes to the names so that a specific meaning may be attached. Consider a field named DATASET, the following table lists the suffixes reserved by NeXus.

suffix reference meaning
_end NXtransformations end points of the motions that start with DATASET
_errors NXdata uncertainties (a.k.a., errors)
_increment_set NXtransformations intended average range through which the corresponding axis moves during the exposure of a frame
_indices NXdata Integer array that defines the indices of the signal field which need to be used in the DATASET in order to reference the corresponding axis value
_mask   Field containing a signal mask, where 0 means the pixel is not masked. If required, bit masks are defined in NXdetector pixel_mask.
_set target values Target value of DATASET
_weights   divide DATASET by these weights [4]
@SimonHeybrock SimonHeybrock changed the title Consider naming conventions in the Nexus format Consider using naming conventions from the Nexus format Oct 14, 2022
@SimonHeybrock SimonHeybrock changed the title Consider using naming conventions from the Nexus format Consider interpreting naming conventions from the Nexus format Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant