usnistgov / PyHyperScattering

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

Fix for #94 #95

Closed pbeaucage closed 11 months ago

pbeaucage commented 12 months ago

Fixes #94 by adding explicit carve-outs to tell the loader that things containing "Current" or "Beamstop" are never independent variables/dimensions.

Test: auto-dimension hinting find correct dims on scan 67797, earlier it would load saxs beamstop as an axis, now correctly is just energy and polarization

For beamtime-poor-organization reasons, this also fixes a typo in loadMonitors and some typos in RSoXS.AR for two-polarization AR.