usnistgov / PyHyperScattering

Tools for hyperspectral x-ray and neutron scattering data loading, reduction, slicing, and visualization.
Other
7 stars 9 forks source link

Add flag to switch shutter inhibit behavior for ALS 11.0.1.2 #69

Closed pbeaucage closed 1 year ago

pbeaucage commented 1 year ago

Fixes #64 by adding a flag to switch the default name for "shutter inhibit" on ALS 11.0.1.2 for pre- and post- 2021 data. The default value of this flag is for pre 2021 data to avoid breaking existing routines. It maybe should raise a deprecation warning and we should flip the default in a coming release. Functional test coverage is added for the new datatype thanks to data from #64.

pbeaucage commented 1 year ago

@pdudenas can you take a look at this?