ewoksxas.fit.tests.conftest.multi_peak_factory#

ewoksxas.fit.tests.conftest.multi_peak_factory(x)[source]#

Return a factory building a sum of well-separated Gaussian peaks.

The factory takes (center, height) pairs and returns the summed noiseless signal, so a test knows how many peaks and which centers/heights it should recover.