Match lines in the spectra with specific wavleengths
Match lines works by finding the closest peak based on the x-position transformed by ws that is within wlimit of a known line.
Parameters: | xarr: numpy.ndarray
farr: numpy.ndarray
sw: numpy.ndarray
sf: numpy.ndarray
ws: function
rw: float
npoints: int
xlimit: float
slimit: float
wlimit: float
|
---|---|
Returns: | mx: numpy.ndarray
mw: numpy.ndarray
|