xboa
|
Find peaks in a list of data by looking at first derivative. More...
Inherits object.
Public Member Functions | |
def | __init__ |
Initialise the peak finder. More... | |
def | find_peak_errors_derivative |
Find the error on the peak estimation based on a linear fit to the derivative. More... | |
def | find_peaks |
Find peaks in the data. More... | |
Public Attributes | |
fit | |
Static Public Attributes | |
list | fit_list = [] |
Private Member Functions | |
def | _get_derivative |
Find peaks in a list of data by looking at first derivative.
Definition at line 28 of file _uphill_downhill_peak_finder.py.
def __init__ | ( | self | ) |
Initialise the peak finder.
Definition at line 33 of file _uphill_downhill_peak_finder.py.
|
private |
Definition at line 36 of file _uphill_downhill_peak_finder.py.
Referenced by UphillDownhillPeakFinder.find_peak_errors_derivative(), and UphillDownhillPeakFinder.find_peaks().
def find_peak_errors_derivative | ( | self, | |
data, | |||
peak_list, | |||
delta_index, | |||
draw = False |
|||
) |
Find the error on the peak estimation based on a linear fit to the derivative.
Definition at line 44 of file _uphill_downhill_peak_finder.py.
References UphillDownhillPeakFinder._get_derivative(), UphillDownhillPeakFinder.fit, and RefinePeakFinder.fit.
def find_peaks | ( | self, | |
data | |||
) |
Find peaks in the data.
Definition at line 93 of file _uphill_downhill_peak_finder.py.
References UphillDownhillPeakFinder._get_derivative().
|
static |
Definition at line 101 of file _uphill_downhill_peak_finder.py.
fit |
Definition at line 34 of file _uphill_downhill_peak_finder.py.
Referenced by UphillDownhillPeakFinder.find_peak_errors_derivative(), and FitSmoothing.smooth().