hyperspy.tests.mva.test_bss module¶
-
class
hyperspy.tests.mva.test_bss.TestBSS1D¶ Bases:
object-
setup_method(method)¶
-
test_mask_diff_order_0()¶
-
test_mask_diff_order_0_on_loadings()¶
-
test_mask_diff_order_1()¶
-
test_mask_diff_order_1_on_loadings()¶
-
test_on_loadings()¶
-
-
class
hyperspy.tests.mva.test_bss.TestBSS2D¶ Bases:
object-
setup_method(method)¶
-
test_diff_axes_string_with_mask()¶
-
test_diff_axes_string_without_mask()¶
-
test_diff_axes_without_mask()¶
-
test_mask_diff_order_0()¶
-
test_mask_diff_order_0_on_loadings()¶
-
test_mask_diff_order_1()¶
-
test_mask_diff_order_1_diff_axes()¶
-
test_mask_diff_order_1_on_loadings()¶
-
test_mask_diff_order_1_on_loadings_diff_axes()¶
-
test_on_loadings()¶
-
-
hyperspy.tests.mva.test_bss.are_bss_components_equivalent(c1_list, c2_list, atol=0.0001)¶ Check if two list of components are equivalent.
To be equivalent they must differ by a max of atol except for an arbitraty -1 factor.
Parameters: - c2_list (c1_list,) – The components to check.
- atol (float) – Absolute tolerance for the amount that they can differ.
Returns: Return type: bool