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

/entry/instrument/attenuator/attenuator_transmission NX_FLOAT/NX_DIMENSIONLESS #4

Open
CV-GPhL opened this issue Nov 19, 2019 · 2 comments

Comments

@CV-GPhL
Copy link

CV-GPhL commented Nov 19, 2019

Instead of
NX_NUMBER {units=NX_UNITLESS}
it should be
NX_FLOAT {units=NX_DIMENSIONLESS}

as in
http://hdrmx.medsbio.org/manual/build/html/classes/base_classes/NXattenuator.html#nxattenuator

Vote with thumbs up/down

@yayahjb
Copy link
Contributor

yayahjb commented Nov 21, 2019 via email

@CV-GPhL
Copy link
Author

CV-GPhL commented Nov 22, 2019

I was looking at the definition of attenuator_transmission in NXattenuator, which has NX_FLOAT. Since it is defined as

The nominal amount of the beam that gets through (transmitted intensity)/(incident intensity)

it seems as if it should be NX_DIMENSIONLESS ("units for fields where the units cancel out"). But in principle I don't mind - as long as it is consistent with NXattenuator/attenuator_transmission, right?

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

2 participants