hyperspy.tests.io.test_hdf5 module¶
-
class
hyperspy.tests.io.test_hdf5.
TestAxesConfiguration
¶ Bases:
object
-
setup_method
(method)¶
-
teardown_method
(method)¶
-
test_axes_configuration
()¶
-
-
class
hyperspy.tests.io.test_hdf5.
TestExample1_10
¶ Bases:
hyperspy.tests.io.test_hdf5.Example1
-
setup_method
(method)¶
-
-
class
hyperspy.tests.io.test_hdf5.
TestExample1_11
¶ Bases:
hyperspy.tests.io.test_hdf5.Example1
-
setup_method
(method)¶
-
-
class
hyperspy.tests.io.test_hdf5.
TestExample1_12
¶ Bases:
hyperspy.tests.io.test_hdf5.Example1
-
setup_method
(method)¶
-
test_date
()¶
-
test_time
()¶
-
-
class
hyperspy.tests.io.test_hdf5.
TestLoadingNewSavedMetadata
¶ Bases:
object
-
setup_method
(method)¶
-
test_binary_string
()¶
-
test_empty_things
()¶
-
test_inside_things
()¶
-
test_signal_inside
()¶
-
test_simple_things
()¶
-
-
class
hyperspy.tests.io.test_hdf5.
TestLoadingOOMReadOnly
¶ Bases:
object
-
setup_method
(method)¶
-
teardown_method
(method)¶
-
test_oom_loading
()¶
-
-
class
hyperspy.tests.io.test_hdf5.
TestPassingArgs
¶ Bases:
object
-
setup_method
(method)¶
-
teardown_method
(method)¶
-
test_compression_opts
()¶
-
-
class
hyperspy.tests.io.test_hdf5.
TestSavingMetadataContainers
¶ Bases:
object
-
setup_method
(method)¶
-
test_date_time
(tmpfilepath)¶
-
test_general_metadata
(tmpfilepath)¶
-
test_general_type_not_working
(tmpfilepath)¶
-
test_metadata_update_to_v3_0
()¶
-
test_numpy_general_type
(tmpfilepath)¶
-
test_numpy_only_inner_lists
(tmpfilepath)¶
-
test_quantity
(tmpfilepath)¶
-
test_save_long_list
(tmpfilepath)¶
-
test_save_unicode
(tmpfilepath)¶
-
test_unsupported_type
(tmpfilepath)¶
-
-
class
hyperspy.tests.io.test_hdf5.
Test_permanent_markers_io
¶ Bases:
object
-
test_load_missing_y2_value
()¶
-
test_load_unknown_marker_type
()¶
-
test_save_load_empty_metadata_markers
()¶
-
test_save_load_horizontal_line_marker
()¶
-
test_save_load_horizontal_line_segment_marker
()¶
-
test_save_load_line_segment_marker
()¶
-
test_save_load_permanent_marker
()¶
-
test_save_load_permanent_marker_all_types
()¶
-
test_save_load_point_marker
()¶
-
test_save_load_rectangle_marker
()¶
-
test_save_load_text_marker
()¶
-
test_save_load_vertical_line_marker
()¶
-
test_save_load_vertical_line_segment_marker
()¶
-
test_save_permanent_marker
()¶
-
-
hyperspy.tests.io.test_hdf5.
data
= array([4066., 3996., 3932., 3923., 5602., 5288., 7234., 7809., 4710., 5015., 4366., 4524., 4832., 5474., 5718., 5034., 4651., 4613., 4637., 4429., 4217.])¶
-
hyperspy.tests.io.test_hdf5.
example1_original_metadata
= {'BEAMDIAM -nm': 100.0, 'BEAMKV -kV': 120.0, 'CHOFFSET': -168.0, 'COLLANGLE-mR': 3.4, 'CONVANGLE-mR': 1.5, 'DATATYPE': 'XY', 'DATE': '01-OCT-1991', 'DWELLTIME-ms': 100.0, 'ELSDET': 'SERIAL', 'EMISSION -uA': 5.5, 'FORMAT': 'EMSA/MAS Spectral Data File', 'MAGCAM': 100.0, 'NCOLUMNS': 1.0, 'NPOINTS': 20.0, 'OFFSET': 520.13, 'OPERMODE': 'IMAG', 'OWNER': 'EMSA/MAS TASK FORCE', 'PROBECUR -nA': 12.345, 'SIGNALTYPE': 'ELS', 'THICKNESS-nm': 50.0, 'TIME': '12:00', 'TITLE': 'NIO EELS OK SHELL', 'VERSION': '1.0', 'XLABEL': 'Energy', 'XPERCHAN': 3.1, 'XUNITS': 'eV', 'YLABEL': 'Counts', 'YUNITS': 'Intensity'}¶
-
hyperspy.tests.io.test_hdf5.
my_path
= '/home/francisco/Git/hyperspy/hyperspy/tests/io'¶
-
hyperspy.tests.io.test_hdf5.
test_lazy_metadata_arrays
(tmpfilepath)¶
-
hyperspy.tests.io.test_hdf5.
test_none_metadata
()¶
-
hyperspy.tests.io.test_hdf5.
test_rgba16
()¶
-
hyperspy.tests.io.test_hdf5.
test_save_ragged_array
(tmpfilepath)¶
-
hyperspy.tests.io.test_hdf5.
test_strings_from_py2
()¶
-
hyperspy.tests.io.test_hdf5.
tmpfilepath
()¶