hyperspy.tests.io.test_semper_unf module

class hyperspy.tests.io.test_semper_unf.TestCaseSaveAndReadByte

Bases: object

teardown_method(method)
test_save_and_read()
class hyperspy.tests.io.test_semper_unf.TestCaseSaveAndReadImage

Bases: object

teardown_method(method)
test_save_and_read()
hyperspy.tests.io.test_semper_unf.data_image = array([[0. , 0.5, 1. , 1.5], [2. , 2.5, 3. , 3.5], [4. , 4.5, 5. , 5.5], [6. , 6.5, 7. , 7.5]], dtype=float32)
hyperspy.tests.io.test_semper_unf.data_image_byte = array([[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14], [15, 16, 17, 18, 19], [20, 21, 22, 23, 24]], dtype=int8)
hyperspy.tests.io.test_semper_unf.data_image_complex = array([[ 0.+0.j , 1.+0.5j, 2.+1.j , 3.+1.5j], [ 4.+2.j , 5.+2.5j, 6.+3.j , 7.+3.5j], [ 8.+4.j , 9.+4.5j, 10.+5.j , 11.+5.5j], [12.+6.j , 13.+6.5j, 14.+7.j , 15.+7.5j]], dtype=complex64)
hyperspy.tests.io.test_semper_unf.data_image_int16 = array([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11], [12, 13, 14, 15]], dtype=int16)
hyperspy.tests.io.test_semper_unf.data_image_int32 = array([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11], [12, 13, 14, 15]], dtype=int32)
hyperspy.tests.io.test_semper_unf.data_signal = array([[[ 0. , 0.5, 1. ], [ 1.5, 2. , 2.5], [ 3. , 3.5, 4. ]], [[ 4.5, 5. , 5.5], [ 6. , 6.5, 7. ], [ 7.5, 8. , 8.5]], [[ 9. , 9.5, 10. ], [10.5, 11. , 11.5], [12. , 12.5, 13. ]]], dtype=float32)
hyperspy.tests.io.test_semper_unf.data_spectrum = array([0. , 0.5, 1. , 1.5, 2. , 2.5, 3. , 3.5, 4. , 4.5], dtype=float32)
hyperspy.tests.io.test_semper_unf.my_path = '/home/francisco/Git/hyperspy/hyperspy/tests/io'
hyperspy.tests.io.test_semper_unf.test_image_2d_loading()
hyperspy.tests.io.test_semper_unf.test_image_byte_loading()
hyperspy.tests.io.test_semper_unf.test_image_complex_loading()
hyperspy.tests.io.test_semper_unf.test_image_int16_loading()
hyperspy.tests.io.test_semper_unf.test_image_int32_loading()
hyperspy.tests.io.test_semper_unf.test_no_label_loading()
hyperspy.tests.io.test_semper_unf.test_signal_3d_loading()
hyperspy.tests.io.test_semper_unf.test_spectrum_1d_loading()
hyperspy.tests.io.test_semper_unf.test_title = 'This is a test!'
hyperspy.tests.io.test_semper_unf.test_with_title_loading()
hyperspy.tests.io.test_semper_unf.test_writing_loading_metadata()
hyperspy.tests.io.test_semper_unf.test_writing_unsupported_data_type()