Closed stuwilkins closed 8 years ago
The princeton reader is in filestore https://github.com/NSLS-II/filestore/blob/master/filestore/readers/spe.py
There is some hkl code, still a bit raw, here. Terrible name, we know. Suggestions welcome. Requires installation of the conda pkg, hkl. See the examples dir for an example using TARDIS.
Ok can we get this installed for the expt starting Wednesday, we need this to get the UB matrix in as metadata so we can process the data after the fact. If not we would have to use this to calculate the UB from two known reflections.
My memory is failing me in my old age!
Yeah, was thinking about how to add the UB to the data stream. Initial thought was via describe_configuration
. At any rate, there is obviously work remaining, but would appreciate user-eyes on this.
@ambarb This adds the Princeton file reader if you need it.... Also @cmazzoli @ambarb this has an old
diffractometer
class that I created. I think this could be modified quickly to do the angles -> UB Matrix for the reciprocal space conversion in the absence of any support for reciprocal space in the NSLS-II software stack.