hyperspy.tests.signal.test_assign_subclass module¶
-
class
hyperspy.tests.signal.test_assign_subclass.TestConvertBaseSignal¶ Bases:
object-
setup_method(method)¶
-
test_base_to_1d()¶
-
test_base_to_2d()¶
-
test_base_to_complex()¶
-
test_base_to_lazy()¶
-
-
class
hyperspy.tests.signal.test_assign_subclass.TestConvertComplexSignal¶ Bases:
object-
setup_method(method)¶
-
test_complex_to_complex1d()¶
-
test_complex_to_complex2d()¶
-
-
class
hyperspy.tests.signal.test_assign_subclass.TestConvertComplexSignal1D¶ Bases:
object-
setup_method(method)¶
-
test_complex_to_dielectric_function()¶
-
-
class
hyperspy.tests.signal.test_assign_subclass.TestConvertSignal1D¶ Bases:
object-
setup_method(method)¶
-
test_lazy_to_eels_and_back()¶
-
test_signal1d_to_eds_sem()¶
-
test_signal1d_to_eds_tem()¶
-
test_signal1d_to_eels()¶
-
-
hyperspy.tests.signal.test_assign_subclass.subclass_cases= (testcase(dtype='float', sig_dim=1000, sig_type='', cls='BaseSignal'), testcase(dtype='float', sig_dim=1, sig_type='', cls='Signal1D'), testcase(dtype='float', sig_dim=2, sig_type='', cls='Signal2D'), testcase(dtype='float', sig_dim=1, sig_type='EELS', cls='EELSSpectrum'), testcase(dtype='float', sig_dim=1, sig_type='EDS_SEM', cls='EDSSEMSpectrum'), testcase(dtype='float', sig_dim=1, sig_type='EDS_TEM', cls='EDSTEMSpectrum'), testcase(dtype='complex', sig_dim=1, sig_type='DielectricFunction', cls='DielectricFunction'), testcase(dtype='complex', sig_dim=1, sig_type='dielectric function', cls='DielectricFunction'), testcase(dtype='complex', sig_dim=1000, sig_type='', cls='ComplexSignal'), testcase(dtype='complex', sig_dim=1, sig_type='', cls='ComplexSignal1D'), testcase(dtype='complex', sig_dim=2, sig_type='', cls='ComplexSignal2D'), testcase(dtype='float', sig_dim=1000, sig_type='weird', cls='BaseSignal'), testcase(dtype='float', sig_dim=1, sig_type='weird', cls='Signal1D'), testcase(dtype='complex', sig_dim=1000, sig_type='weird', cls='ComplexSignal'))¶
-
hyperspy.tests.signal.test_assign_subclass.test_assignment_class()¶