hyperspy.misc.axis_tools module
- hyperspy.misc.axis_tools.check_axes_calibration(ax1, ax2, rtol=1e-07)
Check if the calibration of two Axis objects matches.
Raises a logger warning if there is a mismatch.
scale
andoffset
are compared as floats using np.allclose, whileunits
is compared with a simple inequality (!=).