NSLS-II-CSX / profile_collection

BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

[hkl] add lattice to Tardis configuration attributes #42

Open ambarb opened 3 years ago

ambarb commented 3 years ago

the lattice parameters are part of the tardis object but are not saved with the tardis object's configuration attributes.

It seems we are also saving the calculation energy, but these are crazy units. Pete J has PR to hklpy that adds the wavelength to the configuration attributes which makes more since for calculation in a notebook.

TODO

Currently, db[-1]descriptors[0]["configuration"]["tardis"]["data"]:

['tardis_energy',
 'tardis_UB',
 'tardis_theta_user_offset',
 'tardis_theta_user_offset_dir',
 'tardis_theta_velocity',
 'tardis_theta_acceleration',
 'tardis_theta_motor_egu',
 'tardis_delta_user_offset',
 'tardis_delta_user_offset_dir',
 'tardis_delta_velocity',
 'tardis_delta_acceleration',
 'tardis_delta_motor_egu',
 'tardis_gamma_user_offset',
 'tardis_gamma_user_offset_dir',
 'tardis_gamma_velocity',
 'tardis_gamma_acceleration',
 'tardis_gamma_motor_egu']