PeakFinder

class sofia_redux.instruments.forcast.peakfind.PeakFinder(image, reference=None, npeaks=4, fwhm=4.5, sharplo=0.2, sharphi=1.0, roundlo=-0.75, roundhi=0.75, silent=False, maxiter=1000, epsilon=5, eps=1e-07, ncut=30, chopnoddist=None, refine=True, positive=False, smooth=True)[source]

Bases: object

Configure and run peak finding algorithm.

Attributes Summary

sigma

Methods Summary

chopnod_sort(table)

Select peaks that follow a particular pattern for merge

findpeaks()

print(message)

refine_table(image, table)

Refine table contents with a fit on the image

search_peaks(image)

Initial search for peaks in the image

Attributes Documentation

sigma

Methods Documentation

chopnod_sort(table)[source]

Select peaks that follow a particular pattern for merge

The table passed in will be cut in place.

Parameters:
tableastropy.table.Table
findpeaks()[source]
print(message)[source]
refine_table(image, table)[source]

Refine table contents with a fit on the image

The table is modified in place.

Parameters:
imagenp.ndarray
tableastropy.table.Table
search_peaks(image)[source]

Initial search for peaks in the image

Parameters:
imagenumpy.ndarray
Returns:
astropy.table.Table