We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b64a0a commit 4d8ece7Copy full SHA for 4d8ece7
specreduce/tests/test_tracing.py
@@ -373,7 +373,7 @@ def test_fit_trace_fully_masked_cols(self, mask_treatment):
373
@pytest.mark.parametrize("peak_method,expected",
374
[("max", [5., 3., 5., 5., 7., 5.,
375
np.nan, 5., 5., 5., 2., 5.]),
376
- ("gaussian", [5., 2.10936004, 5., 5., 7.80744334,
+ ("gaussian", [5., 1.696159, 5., 5., 7.80744334,
377
5., np.nan, 5., 5., 5., 1.28216332, 5.]),
378
("centroid", [4.27108332, 2.24060342, 4.27108332,
379
4.27108332, 6.66827608, 4.27108332,
@@ -409,7 +409,7 @@ def test_mask_treatment_filter(self, peak_method, expected):
409
410
# check that final fit to all bins, accouting for fully-masked bins,
411
# matches the trace
412
- fitter = fitting.LevMarLSQFitter()
+ fitter = fitting.LMLSQFitter()
413
mask = np.isfinite(y_bins)
414
all_bin_fit = fitter(trace.trace_model, x_bins[mask], y_bins[mask])
415
all_bin_fit = all_bin_fit((np.arange(12)))
0 commit comments