Open paulmillar opened 4 months ago
As noted by @prjemian in his comment on another issue, the choice of name for this field (type
) is also problematic because it conflicts with other use in the NXDL language.
In this context, can refers to the sample container. It comes from neutron scattering, such as a powder diffractometer, where the powder was poured into a metal can. For such instruments, a can is constructed from metal (such as vanadium) that is transparent (or very low absorption) to neutron radiation.
Here's an example picked at random from a web search:
The Si was loaded into a vanadium can and measurements were carried out ...
Thanks @prjemian, that makes sense.
I guess type=can
indicates data taken with an empty can, while type=sample+can
indicates the can was loaded with the (powder) sample, right?
Would an NXsample
group with type=none
provide a positive statement that no sample was present. By contrast. omitting the NXsample
group would provide no information regarding the sample: maybe it was there, maybe not.
I guess
type=can
indicates data taken with an empty can, whiletype=sample+can
indicates the can was loaded with the (powder) sample, right?
right
NXsample
group withtype=none
Such as a small-angle X-ray scattering measurement with no sample in the beam (common in metallurgy).
Commit dc2710d1e adds the definition of the
NXsample
.This definition includes a field
type
(of typeNX_CHAR
) that takes values from a controlled vocabulary. The valid values oftype
are:The most pressing issue is that the semantics of any of these terms is undefined.
This leads to a number of questions:
NXsample
oftype
"none", compared to simply excluding anyNXsample
group?NXsample
of type "sample+can" and having twoNXsample_component
(one for the "sample" and one for the "can")?type
of sample? This seems to be a different kind of thing.On this last point, is it valid for an
NXentry
to have twoNXsample
groups, one of type "sample environment" and one of type "sample". If so, how does NeXus describe the link between them?I'm also not sure that
NXSample
is the ideal place to indicate that the data is the result of a numerical simulation (perhapsNXentry
would be better?). However, compared to the other issues, this is a relatively minor concern.