-
Notifications
You must be signed in to change notification settings - Fork 8
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
Need canonical names for wavelength resolution and angle resolution #70
Comments
Bearing in mind that the wavelength uncertainty for monochromatic and chopper reactor-based TOF instruments are quite different, with the latter being definitively non-Gaussian - does prefixing with s make sense? Furthermore, on many chopper based NR instruments (e.g. D17) the wavelength resolution is sometimes relaxed by opening the chopper phasings, meaning that d_{lambda}/lambda is not constant as a function of wavelength. The angular part is not Gaussian either. I don't know how you'd denote all that in a simple way, thus proving the necessity for all facilities to put their overall resolution in a sQz column, or creating multiple columns to provide a probability distribution of Qz for each data point. |
Don't get me wrong - I am not advocating for those names. I think they are bad. I'm suggesting that we need some standard names that aren't those ones. I also agree that there are complexities yet to tackle (like distributions at each data point, which I think we can probably all agree doesn't map onto a text representation very well) but I think a first step is to standardise the name of "wavelength resolution" and "angle resolution" or equivalent (we already have a name for the Qz resolution, but if you think sQz is too suggestive of a Gaussian I would be fine with changing it). The shape of the resolution is a separate issue, I think. We can not combine wavelength and angular resolution into sQz (even if we make it very detailed), because we often in the fitting adjust "sample broadening", which is an addition/subtraction to angular resolution, coming from the curvature of the sample. We (at NIST, not ORSO) also can't combine incident angle and wavelength into Q, because of uncertainties in the incident angle (for small samples) that necessitate a theta_offset fit parameter, which is why we need separate incident_angle and wavelength columns, and for us the Q column is actually not used most of the time. |
I think this is addressed with the "physical_quantity" keyword in https://github.com/reflectivity/file_format/blob/master/specs_discussion.md#reserve-key-words |
This issue is a blocking one for us: we can't deploy orsopy-based tools or integrate orsopy into refl1d until it is resolved. I hope it can be resolved soon. |
Is there any reason not to use "wavelength resolution" and "angular resolution"? |
Not sure I understand what the actual issue is here. I would think that all these points are already covered by the current specification or not necessary to be in the specification:
If you like I can create an example file, just send me some columns and information that need to be supplied. So please correct me if I'm missing something, but I think everything you mentioned is already resolved. |
Yes, you can add "error_of" to a column. That is not the problem I am describing. We do not have a specified way to resolve quantities that must be located in either
such as:
Any analysis software that is looking for these values needs a resolution scheme, that is specified, because these items (among others) can be found in either 1 or 2. The Here is an example: let's say my analysis software wants to know the angular resolution for a measurement. Right now, it can look in If we decide to standardise and specify the |
Just a question on "resolution", I think I know what you mean, but to be clear, do you mean resolution as in the thing which smears out the reflectivity curve, or resolution as in the order which objects are ordered when they are defined in multiple places? To add my tuppence, on the latter I would say that column should "trump" instrument_settings since if you have gone to the effort of writing it out for every reflectivity value, you are quite likely to have had a good reason for it :) |
Sorry, you're right - the word resolution is doing double duty here, as in "object resolution" (programming: find a specific thing) but also the object being resolved might be e.g. "angular resolution" (a description of the distribution of angles in a particular measurement point) |
It isn't often you discuss the definition of the resolution resolution and its definition :) |
It gets worse - at some point this issue will be resolved |
Currently we have "canonical" names for Q resolution (sQz) and the uncertainty in R (sR), but it is awkward to apply these to "wavelength" and "incident_angle", resulting in
Also, we probably need to include whatever we decide on in the header - right now there is no attribute specified for wavelength or incident angle resolution.
The text was updated successfully, but these errors were encountered: