tnmf.tests.test_1d¶
Test the decomposition on multiple 1D curves and ensure that all backends yield the same factorization.
Module Contents¶
Functions¶
|
|
|
|
|
Attributes¶
-
tnmf.tests.test_1d.expected_energies¶
-
tnmf.tests.test_1d.backends= ['numpy', 'numpy_fft', 'numpy_caching_fft', 'pytorch', 'pytorch_fft']¶
-
tnmf.tests.test_1d.reconstruction_modes= ['valid', 'full', 'circular']¶
-
tnmf.tests.test_1d.raise_not_implemented_errors= False¶
-
tnmf.tests.test_1d.V¶
-
tnmf.tests.test_1d.V¶
-
tnmf.tests.test_1d.fit_nmf(backend, reconstruction_mode)¶
-
tnmf.tests.test_1d.fixture_expected_factorization(reconstruction_mode)¶
-
tnmf.tests.test_1d.test_expected_energy(backend: str, reconstruction_mode: str, expected_factorization: Tuple[numpy.ndarray, numpy.ndarray])¶