hyperspy.tests.io.test_blockfile module

hyperspy.tests.io.test_blockfile.DIRPATH = '/home/francisco/Git/hyperspy/hyperspy/tests/io'
hyperspy.tests.io.test_blockfile.FILE1 = '/home/francisco/Git/hyperspy/hyperspy/tests/io/blockfile_data/test1.blo'
hyperspy.tests.io.test_blockfile.FILE2 = '/home/francisco/Git/hyperspy/hyperspy/tests/io/blockfile_data/test2.blo'
hyperspy.tests.io.test_blockfile.WindowsError = None
hyperspy.tests.io.test_blockfile.axes1 = {'axis-0': {'name': 'y', 'navigate': True, 'offset': 0.0, 'scale': 12.8, 'size': 3, 'units': 'nm'}, 'axis-1': {'name': 'x', 'navigate': True, 'offset': 0.0, 'scale': 12.8, 'size': 2, 'units': 'nm'}, 'axis-2': {'name': 'dy', 'navigate': False, 'offset': 0.0, 'scale': 0.016061676839061997, 'size': 144, 'units': 'cm'}, 'axis-3': {'name': 'dx', 'navigate': False, 'offset': 0.0, 'scale': 0.016061676839061997, 'size': 144, 'units': 'cm'}}
hyperspy.tests.io.test_blockfile.axes2 = {'axis-0': {'name': 'y', 'navigate': True, 'offset': 0.0, 'scale': 64.0, 'size': 2, 'units': 'nm'}, 'axis-1': {'name': 'x', 'navigate': True, 'offset': 0.0, 'scale': 64.0, 'size': 3, 'units': 'nm'}, 'axis-2': {'name': 'dy', 'navigate': False, 'offset': 0.0, 'scale': 0.016061676839061997, 'size': 5, 'units': 'cm'}, 'axis-3': {'name': 'dx', 'navigate': False, 'offset': 0.0, 'scale': 0.016061676839061997, 'size': 5, 'units': 'cm'}}
hyperspy.tests.io.test_blockfile.axes2_converted = {'axis-0': {'name': 'y', 'navigate': True, 'offset': 0.0, 'scale': 64.0, 'size': 2, 'units': 'nm'}, 'axis-1': {'name': 'x', 'navigate': True, 'offset': 0.0, 'scale': 64.0, 'size': 3, 'units': 'nm'}, 'axis-2': {'name': 'dy', 'navigate': False, 'offset': 0.0, 'scale': 160.61676839061997, 'size': 5, 'units': 'um'}, 'axis-3': {'name': 'dx', 'navigate': False, 'offset': 0.0, 'scale': 160.61676839061997, 'size': 5, 'units': 'um'}}
hyperspy.tests.io.test_blockfile.ref_data2 = array([[[[20, 23, 25, 25, 27], [29, 23, 23, 0, 29], [24, 0, 0, 22, 18], [ 0, 14, 19, 17, 26], [19, 21, 22, 27, 20]], [[28, 25, 29, 15, 29], [12, 15, 12, 25, 24], [25, 26, 26, 18, 27], [19, 18, 20, 23, 28], [28, 18, 22, 25, 0]], [[21, 29, 25, 19, 18], [30, 15, 20, 22, 26], [23, 18, 26, 15, 25], [22, 25, 24, 15, 20], [22, 15, 15, 21, 23]]], [[[28, 25, 26, 24, 26], [26, 17, 0, 24, 12], [17, 18, 21, 19, 21], [21, 24, 19, 17, 0], [17, 14, 25, 15, 26]], [[25, 18, 20, 15, 24], [19, 13, 23, 18, 11], [ 0, 25, 0, 0, 14], [26, 22, 22, 11, 14], [21, 0, 15, 13, 19]], [[24, 18, 20, 22, 21], [13, 25, 20, 28, 29], [15, 17, 24, 23, 23], [22, 21, 21, 22, 18], [24, 25, 18, 18, 27]]]], dtype=uint8)
hyperspy.tests.io.test_blockfile.save_path()
hyperspy.tests.io.test_blockfile.test_crop_notes(save_path)
hyperspy.tests.io.test_blockfile.test_default_header()
hyperspy.tests.io.test_blockfile.test_different_x_y_scale_units(save_path)
hyperspy.tests.io.test_blockfile.test_load1()
hyperspy.tests.io.test_blockfile.test_load2(convert_units)
hyperspy.tests.io.test_blockfile.test_load_inplace()
hyperspy.tests.io.test_blockfile.test_load_lazy()
hyperspy.tests.io.test_blockfile.test_load_readonly()
hyperspy.tests.io.test_blockfile.test_load_to_memory()
hyperspy.tests.io.test_blockfile.test_non_square(save_path)
hyperspy.tests.io.test_blockfile.test_save_load_cycle(save_path, convert_units)
hyperspy.tests.io.test_blockfile.test_write_cutoff(save_path)
hyperspy.tests.io.test_blockfile.test_write_data_am_mismatch(save_path)
hyperspy.tests.io.test_blockfile.test_write_data_line(save_path)
hyperspy.tests.io.test_blockfile.test_write_data_single(save_path)
hyperspy.tests.io.test_blockfile.test_write_fresh(save_path)