[Nexus] [nexusformat/definitions] UB matrix in NXsample (#559)

Tobias Richter Tobias.Richter at esss.se
Tue Apr 11 08:31:59 BST 2017


Assuming this whole thing checks out to a crystallographer, I’d be in favour of calling the new thing ub_matrix no one refers to it as just “ub” in the emails.
It would go into NXsample_component as [3,3] as well, then.

Cheers,
Tobias



From: "V. Armando Solé" <notifications at github.com>
Reply-To: nexusformat/definitions <reply+000d11781f0e5d6b5c322f6df284f6bcbb20eb07214214fe92cf0000000115043e5d92a169ce0d29292f at reply.github.com>
Date: Tuesday, 11 April 2017 at 08:49
To: nexusformat/definitions <definitions at noreply.github.com>
Cc: Subscribed <subscribed at noreply.github.com>
Subject: Re: [nexusformat/definitions] UB matrix in NXsample (#559)


Hi!

Mixing distances and angles I guess it is something traditional. At least SPEC provides them that way so a lot of people are used to it. For the time being I am going to ask my colleagues to use a "new" sample field named ub with dimensions [n_comp, 3, 3] containing 9 floats. I hope it will be approved.

If the three floats correspond to the angles, the choice is really unfortunate. The actual angle names should have been used because, in addition, they are scanned during measurements and there is more than just four-circle diffractometers.

On the longer term, a better solution is needed. I am not a crystallographer either but I have been dealing with diffractometer geometries and conversion from lab to reciprocal space coordinates based on the diffractometer angles. For that one needs, among others, the UB matrix, the type of diffractometer and geometry. Some classical articles are Busing & Levy 1967, Lohmaier and Vlieg (1992 or 1993 not sure), Ewans-Lutterodt and Tang (1995) and You (1999). I basically support four-circle and six-circle with the same code base. Given that those articles clearly define the different geometries and provide names to the associated angles, an NXdiffractometer class containing the UB matrix, the diffractometertype, mode and angles would be convenient since it would pave the way for conversion to reciprocal space coordinates. One would still some other things like wavelength, detector pixel sizes, distance and coordinates of the hypothetical the point of incidence on the detector if all the diffractometer angles would be at zero. Surface diffraction people, among others, need that type of description.

So, NXdiffractomer inside NXinstrument and eventually linked to from NXsample would be a nice arrangement, but I am going too far. As I said, for the time being I will just put the UB matrix inside NXsample under the name ub.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/nexusformat/definitions/issues/559#issuecomment-293167261>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA0ReByZ5ZlDs1lWtCvsNse6Rbnfgn8sks5ruyJdgaJpZM4M5dD->.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20170411/5d8dd834/attachment.html>


More information about the NeXus mailing list