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

Graeme.Winter at Diamond.ac.uk Graeme.Winter at Diamond.ac.uk
Tue Apr 11 08:39:51 BST 2017


Colleagues

I would also look at

http://mmcif.wwpdb.org/dictionaries/mmcif_std.dic/Items/_diffrn_orient_matrix.UB[2][2].html<http://mmcif.wwpdb.org/dictionaries/mmcif_std.dic/Items/_diffrn_orient_matrix.UB%5B2%5D%5B2%5D.html>

since the CIF wonks have probably defined this to 9dp already…

You do need to be careful w.r.t. definitions - i.e. upper or lower triangular?

Cheers Graeme

On 11 Apr 2017, at 08:31, Tobias Richter <Tobias.Richter at esss.se<mailto:Tobias.Richter at esss.se>> wrote:

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<mailto:notifications at github.com>>
Reply-To: nexusformat/definitions <reply+000d11781f0e5d6b5c322f6df284f6bcbb20eb07214214fe92cf0000000115043e5d92a169ce0d29292f at reply.github.com<mailto:reply+000d11781f0e5d6b5c322f6df284f6bcbb20eb07214214fe92cf0000000115043e5d92a169ce0d29292f at reply.github.com>>
Date: Tuesday, 11 April 2017 at 08:49
To: nexusformat/definitions <definitions at noreply.github.com<mailto:definitions at noreply.github.com>>
Cc: Subscribed <subscribed at noreply.github.com<mailto: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->.

_______________________________________________
NeXus mailing list
NeXus at nexusformat.org<mailto:NeXus at nexusformat.org>
http://lists.nexusformat.org/mailman/listinfo/nexus


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



More information about the NeXus mailing list