hyperspy.tests.utils package

Submodules

hyperspy.tests.utils.test_attrsetter module

class hyperspy.tests.utils.test_attrsetter.DummyThing

Bases: object

multiply()
class hyperspy.tests.utils.test_attrsetter.TestAttrSetter

Bases: object

setUp()
test_dtb_settattr()
test_dummy()
test_wrong_item(*arg, **kw)

hyperspy.tests.utils.test_eds module

hyperspy.tests.utils.test_eds.test_xray_lines_near_energy()

hyperspy.tests.utils.test_material module

class hyperspy.tests.utils.test_material.TestWeightToFromAtomic

Bases: object

setUp()
test_atomic_to_weight()
test_multi_dim()
test_weight_to_atomic()
hyperspy.tests.utils.test_material.test_density_of_mixture()
hyperspy.tests.utils.test_material.test_mac()
hyperspy.tests.utils.test_material.test_mixture_mac()

hyperspy.tests.utils.test_roi module

class hyperspy.tests.utils.test_roi.TestInteractive

Bases: object

setup()
test_interactive()
test_interactive_special_case()
test_out()
test_out_special_case()
class hyperspy.tests.utils.test_roi.TestROIs

Bases: object

setUp()
test_2d_line_img_plot()
test_2d_line_spec_plot()
test_circle_spec()
test_point1d_image()
test_point1d_spectrum()
test_point1d_spectrum_ronded_coord()
test_point2d_image()
test_point2d_image_sig()
test_rect_image()
test_span_spectrum_nav()
test_span_spectrum_sig()

hyperspy.tests.utils.test_slugify module

hyperspy.tests.utils.test_slugify.test_slugify()

hyperspy.tests.utils.test_stack module

class hyperspy.tests.utils.test_stack.TestUtilsStack

Bases: object

setUp()
test_stack_bigger_than_ten()
test_stack_default()
test_stack_not_default()
test_stack_of_stack()

Module contents