usnistgov / PyHyperScattering

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

18 featbug update sst1 i0 correction #67

Closed BijalBPatel closed 1 year ago

BijalBPatel commented 1 year ago

Provides an option for calibration mode = i0 which allows direct binning (skips the shutter thinning routine). Also attempts to fix some xarray warnings that occur on running loadMd.

Additional flags added to loadRun and loadMd, but designed to not affect default behavior.

Introduces a new error that breaks the 'return_dataset' flag of loadrun, although metadata can be loaded without errors using loadMd.

Also added a lot of documentation to loadMd as part of understanding how it works.