hyperspy.tests.io.test_emd module

class hyperspy.tests.io.test_emd.TestCaseSaveAndRead

Bases: object

teardown_method(method)
test_save_and_read()
class hyperspy.tests.io.test_emd.TestDatasetName

Bases: object

setup_method()
teardown_method()
test_load_with_dataset_name()
test_load_with_dataset_name_several()
test_wrong_dataset_name()
class hyperspy.tests.io.test_emd.TestFeiEMD

Bases: object

fei_files_path = '/home/francisco/Git/hyperspy/hyperspy/tests/io/emd_files/fei_emd_files'
classmethod setup_class()
classmethod teardown_class()
test_fei_emd_ceta_camera()
test_fei_emd_image(lazy)
test_fei_emd_si(lazy)
test_fei_emd_si_frame_range(lazy)
test_fei_emd_si_non_square_10frames(lazy)
test_fei_emd_si_non_square_20frames(lazy)
test_fei_emd_si_non_square_20frames_2eV(lazy)
test_fei_emd_spectrum(lazy)
test_fei_si_4detectors(lazy, sum_EDS_detectors)
time_loading_frame()
class hyperspy.tests.io.test_emd.TestMinimalSave

Bases: object

test_minimal_save()
class hyperspy.tests.io.test_emd.TestReadSeveralDatasets

Bases: object

setup_method()
teardown_method()
test_load_file()
hyperspy.tests.io.test_emd.comments = {'comment': 'Test'}
hyperspy.tests.io.test_emd.data_image = array([[0, 1, 2], [3, 4, 5], [6, 7, 8]])
hyperspy.tests.io.test_emd.data_save = 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]]])
hyperspy.tests.io.test_emd.data_signal = 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, 25, 26]]])
hyperspy.tests.io.test_emd.data_spectrum = array([0, 1, 2])
hyperspy.tests.io.test_emd.microscope = {'name': 'Titan', 'voltage': '300kV'}
hyperspy.tests.io.test_emd.my_path = '/home/francisco/Git/hyperspy/hyperspy/tests/io'
hyperspy.tests.io.test_emd.sample = {'material': 'TiO2', 'preparation': 'FIB'}
hyperspy.tests.io.test_emd.sig_metadata = {'a': 1, 'b': 2}
hyperspy.tests.io.test_emd.test_data_axis_length_1()
hyperspy.tests.io.test_emd.test_data_numpy_object_dtype()
hyperspy.tests.io.test_emd.test_image_2d_loading()
hyperspy.tests.io.test_emd.test_metadata()
hyperspy.tests.io.test_emd.test_metadata_with_bytes_string()
hyperspy.tests.io.test_emd.test_signal_3d_loading()
hyperspy.tests.io.test_emd.test_spectrum_1d_loading()
hyperspy.tests.io.test_emd.test_title = '/signals/This is a test!'
hyperspy.tests.io.test_emd.user = {'department': 'Microscopy', 'email': 'johndoe@web.de', 'institution': 'TestUniversity', 'name': 'John Doe'}