hyperspy.tests.component.test_components module

hyperspy.tests.component.test_components.TRUE_FALSE_2_TUPLE = [(True, True), (True, False), (False, True), (False, False)]
class hyperspy.tests.component.test_components.TestDoublePowerLaw

Bases: object

setup_method(method)
test_fit(binned)
class hyperspy.tests.component.test_components.TestExpression

Bases: object

setup_method(method)
test_f()
test_function_nd()
test_grad_fwhm()
test_grad_height()
test_grad_x0()
test_name()
test_position()
class hyperspy.tests.component.test_components.TestGaussian

Bases: object

setup_method(method)
test_estimate_parameters_binned(only_current, binned)
test_function_nd(binned)
class hyperspy.tests.component.test_components.TestHeavisideStep

Bases: object

setup_method(method)
test_float_values()
test_gradients()
test_integer_values()
test_not_sorted()
class hyperspy.tests.component.test_components.TestOffset

Bases: object

setup_method(method)
test_estimate_parameters(only_current, binned)
test_function_nd()
class hyperspy.tests.component.test_components.TestPolynomial

Bases: object

setup_method(method)
test_2d_signal()
test_3d_signal()
test_estimate_parameters(only_current, binned)
test_gradient()
class hyperspy.tests.component.test_components.TestPowerLaw

Bases: object

setup_method(method)
test_EDS_missing_data()
test_estimate_parameters(only_current, binned)
test_exception_gradient_calculation()
test_function_grad_cutoff()
class hyperspy.tests.component.test_components.TestScalableFixedPattern

Bases: object

setup_method(method)
test_both_binned()
test_both_unbinned()
test_pattern_binned_signal_unbinned()
test_pattern_unbinned_signal_binned()
hyperspy.tests.component.test_components.get_components1d_name_list()
hyperspy.tests.component.test_components.test_creation_components1d(component_name)
hyperspy.tests.component.test_components.test_expression_substitution()