NSLS-II-CSX / csxtools

Useful python tools for CSX (23-ID)
http://nsls-ii-csx.github.io/csxtools
Other
4 stars 13 forks source link

Add legacy code from "pyspec" into csxtools #43

Closed stuwilkins closed 8 years ago

stuwilkins commented 8 years ago

@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.

tacaswell commented 8 years ago

The princeton reader is in filestore https://github.com/NSLS-II/filestore/blob/master/filestore/readers/spe.py

dchabot commented 8 years ago

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.

stuwilkins commented 8 years ago

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.

stuwilkins commented 8 years ago

My memory is failing me in my old age!

dchabot commented 8 years ago

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.