def test_with_signals_examples(self): from hyperspy.misc.example_signals_loading import \ load_1D_EDS_TEM_spectrum as EDS_TEM_Spectrum s = EDS_TEM_Spectrum() np.testing.assert_allclose( np.array([res.data[0] for res in s.get_lines_intensity()]), np.array([3710, 15872]))
def test_with_signals_examples(self): from hyperspy.misc.example_signals_loading import \ load_1D_EDS_TEM_spectrum as EDS_TEM_Spectrum s = EDS_TEM_Spectrum() np.testing.assert_allclose( np.array([res.data[0] for res in s.get_lines_intensity()]), np.array([3710, 15872]))