xboa
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
UphillDownhillPeakFinder Class Reference

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
 

Detailed Description

Find peaks in a list of data by looking at first derivative.

Definition at line 28 of file _uphill_downhill_peak_finder.py.

Constructor & Destructor Documentation

def __init__ (   self)

Initialise the peak finder.

Definition at line 33 of file _uphill_downhill_peak_finder.py.

Member Function Documentation

def _get_derivative (   self,
  data 
)
private
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().

Member Data Documentation

list fit_list = []
static

Definition at line 101 of file _uphill_downhill_peak_finder.py.

fit

The documentation for this class was generated from the following file: