bluesky / suitcase-core

data export facilities for NSLS-II
https://blueskyproject.io/suitcase
Other
2 stars 13 forks source link

Spec live: two motor scans #83

Open benjaminocko opened 2 years ago

benjaminocko commented 2 years ago

For PYMCA to be useful we require that it works with multiple motor scans. This requires writing the correct scan tilte line that starts with #S. We tried RE(bp.scan([lambda_det,quadem],geo.ih,0.01,0.02,geo.oh,0.01,0.02,6)) and we have the error :NotImplementedError: Your scan has 2 scanning motors. They are ('geo_alpha', 'geo_beta'). Conversion to a specfile does not understand what to do with multiple scanning. Please request this feature at https://github.com/NSLS-II/suitcase/issues Until this feature is implemented, we will be using the sequence number as the motor position. The following info should be recorded in the header #S number a2scan geo,ih 9.01 0.02 geo.oh 0.01 0.02 5 (time). The header line would have to read as #L geo.ih geo,oh ...... with all of the other info being the same. There has to be an additional entry in the lines that follow that has the geo.ih position which would be the third entry. Also, when spec writes to the spec file and there is 2D data it gives the file so that this can be accessed.