MJOLNIRPackage / MJOLNIR

Neutron scattering software to be used at Multiplexing Joint Organization
Mozilla Public License 2.0
4 stars 5 forks source link

return dframe for qplane method and add scaleFnc kwarg #78

Closed abehersan closed 1 year ago

abehersan commented 1 year ago

Added a static method to the plotQPlane method with the goal of returning a pandas dataframe alongside the mpl axis of the plane as defined by the rest of the kwargs in the method call

Added the scaleFcn kwarg as a convenience function in order to rescale the measured intensity by an arbitrary function. Useful in order to have fully contained and consistent intensity scales

My editor automatically removed whitespace in the file itself, that's why the diff is huge... the only method affected by the PR is the plotQPlane method