hyperspy.tests.misc package

Submodules

hyperspy.tests.misc.test_arraytools module

hyperspy.tests.misc.test_arraytools.test_d2s_array1()
hyperspy.tests.misc.test_arraytools.test_d2s_array2()
hyperspy.tests.misc.test_arraytools.test_d2s_arrayX()
hyperspy.tests.misc.test_arraytools.test_d2s_dtype()
hyperspy.tests.misc.test_arraytools.test_d2s_extra_dict_ok()
hyperspy.tests.misc.test_arraytools.test_d2s_fail(*arg, **kw)
hyperspy.tests.misc.test_arraytools.test_d2s_partial_sarray()
hyperspy.tests.misc.test_arraytools.test_d2s_sarray()
hyperspy.tests.misc.test_arraytools.test_d2s_string_cut()
hyperspy.tests.misc.test_arraytools.test_d2s_type_cast_invalid(*arg, **kw)
hyperspy.tests.misc.test_arraytools.test_d2s_type_cast_ok()

hyperspy.tests.misc.test_cython module

hyperspy.tests.misc.test_cython.test_cythonization()

hyperspy.tests.misc.test_image_tools module

class hyperspy.tests.misc.test_image_tools.TestImageStretching

Bases: object

setUp()
test_nans()
test_no_nans()
test_out_of_range(*arg, **kw)

hyperspy.tests.misc.test_math_tools module

hyperspy.tests.misc.test_math_tools.test_isfloat_float()
hyperspy.tests.misc.test_math_tools.test_isfloat_int()
hyperspy.tests.misc.test_math_tools.test_isfloat_npfloat()
hyperspy.tests.misc.test_math_tools.test_isfloat_npint()

hyperspy.tests.misc.test_rgbtools module

class hyperspy.tests.misc.test_rgbtools.TestRGBTools

Bases: object

setUp()
test_regular_array2rgbx_corder_from_c()
test_regular_array2rgbx_corder_from_c_slices()
test_regular_array2rgbx_corder_from_f()
test_regular_array2rgbx_cordermask_from_cmasked()
test_regular_array2rgbx_cordermask_from_cmasked_slices()
test_rgbx2regular_array_corder_from_c()
test_rgbx2regular_array_corder_from_c_slices()
test_rgbx2regular_array_corder_from_f()
test_rgbx2regular_array_cordermask_from_cmasked()
test_rgbx2regular_array_cordermask_from_cmasked_slices()

hyperspy.tests.misc.test_test_utils module

hyperspy.tests.misc.test_test_utils.test_assert_warns_full_message()
hyperspy.tests.misc.test_test_utils.test_assert_warns_message_fails()
hyperspy.tests.misc.test_test_utils.test_assert_warns_partial_message()
hyperspy.tests.misc.test_test_utils.test_assert_warns_regex_message()
hyperspy.tests.misc.test_test_utils.test_assert_warns_type()
hyperspy.tests.misc.test_test_utils.test_assert_warns_type_fails()
hyperspy.tests.misc.test_test_utils.test_ignore_full_message()
hyperspy.tests.misc.test_test_utils.test_ignore_message_fails()
hyperspy.tests.misc.test_test_utils.test_ignore_partial_message()
hyperspy.tests.misc.test_test_utils.test_ignore_regex_message()
hyperspy.tests.misc.test_test_utils.test_ignore_type()
hyperspy.tests.misc.test_test_utils.test_ignore_type_fails()
hyperspy.tests.misc.test_test_utils.warnsA()
hyperspy.tests.misc.test_test_utils.warnsB()
hyperspy.tests.misc.test_test_utils.warnsC()

Module contents