find_peaks

pydis.find_peaks(wave, flux, pwidth=10, pthreshold=97, minsep=1)[source]

Given a slice thru a HeNeAr image, find the significant peaks.

Parameters
wavendarray

Wavelength

fluxndarray

Flux

pwidthfloat

the number of pixels around the “peak” to fit over

pthresholdfloat

Peak threshold

minsepfloat

Minimum separation

Returns
Peak Pixels, Peak Wavelengths