ewoksxas.fit.tests.conftest.peak_factory# ewoksxas.fit.tests.conftest.peak_factory(x)[source]# Return a factory building a ground-truth peak and its descriptors. The factory takes a peak-shape label and returns (y, truth) so each test can assert the recovered descriptors against the values used to build them.