idxminends_custom
- popurri.peakutils.idxminends_custom(f, imin)
Find “ends of the minima” in spectrum f, i.e. maxima at each side of the minimum. Minima in imin must be consecutive. If there are telluric regions (broad regions with no data), the maxima of the lines in the limits of these regions will not be correct, so it will be necessary to remove the lines at the telluric regions limits.
- Parameters:
- f1d array-like of numbers
Flux values of a single order.
- imin
- Returns:
- imax1array, int
- imax2array, int