hyperspy.tests.axes.test_conversion_units module

class hyperspy.tests.axes.test_conversion_units.TestAxesManager

Bases: object

setup_method(method)
test_compact_unit()
test_convert_to_navigation_units()
test_convert_to_navigation_units_Undefined()
test_convert_to_navigation_units_different()
test_convert_to_navigation_units_list()
test_convert_to_navigation_units_list_same_units()
test_convert_to_signal_units()
test_convert_to_units_list()
test_convert_to_units_list_same_units()
test_convert_to_units_list_signal2D()
test_convert_to_units_unsupported_units(same_units)
test_convert_units_axes_integer()
class hyperspy.tests.axes.test_conversion_units.TestDataAxis

Bases: object

setup_method(method)
test_convert_to_compact_units()
test_convert_to_units()
test_offset_as_quantity_setter_string()
test_offset_as_quantity_setter_string_no_units()
test_scale_as_quantity_setter_string()
test_scale_as_quantity_setter_string_no_previous_units()
test_scale_offset_as_quantity_property()
test_scale_offset_as_quantity_setter_float()
test_scale_offset_as_quantity_setter_pint_quantity()
test_units_not_supported_by_pint_warning_raised()
test_units_not_supported_by_pint_warning_raised2()
class hyperspy.tests.axes.test_conversion_units.TestUnitConversion

Bases: object

setup_method(method)
test_convert_to_units()
test_convert_to_units_not_in_place()
test_converted_compact_scale_units()
test_get_compact_unit()
test_ignore_conversion()
test_units_setter()