medabs_baseline¶
- sofia_redux.toolkit.fitting.fitpeaks1d.medabs_baseline(_, y)[source]¶
Default data preparation for
initial_search
and baseline function.Note that the baseline function is also used to prepare an initial estimate of the background parameters (if a background model is supplied as well)
- Parameters:
- _unused
- yarray-like
Dependent data values
- Returns:
- baseline_removed_y, baselinenumpy.ndarray, numpy.ndarray
The de-baselined
y
data and baseline, both of type numpy.float64.