UniDec
Universal Deconvolution of Mass and Ion Mobility Spectra
Public Member Functions | Public Attributes | List of all members
UniDec.unidec_modules.peakwidthtools.PeakTools1d Class Reference
Inheritance diagram for UniDec.unidec_modules.peakwidthtools.PeakTools1d:
Inheritance graph
[legend]
Collaboration diagram for UniDec.unidec_modules.peakwidthtools.PeakTools1d:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, args, kwargs)
 
def initialize_interface (self, config, data)
 
def on_close (self, e)
 
def on_close_cancel (self, e)
 
def on_reset (self, e)
 
def on_center (self, e)
 
def on_plot (self, e)
 
def on_fit (self, e)
 

Public Attributes

 config
 
 data
 
 centdat
 
 psfun
 
 plot1
 
 resbox
 
 ctlpsfun
 
 ctlmzsig
 
 errorbox
 

Constructor & Destructor Documentation

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.__init__ (   self,
  args,
  kwargs 
)
Create a dialog for fitting the peak shapes from the data.
:param args: Passed to wx.Dialog
:param kwargs: Passed to wx.Dialog
:return: None

Member Function Documentation

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.initialize_interface (   self,
  config,
  data 
)
Create the GUI, import the paramters, and plot the intial data.
:param config: UniDecConfig Object
:param data: Data array (N x 2)
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.on_center (   self,
  e 
)
Crop the range to the values from the plot and replot the cropped data.
Note this is a bit clumsy. Hopefully someone will come along and make this more eligant someday...
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.on_close (   self,
  e 
)
Close the window and update self.config.psfun and self.config.mzsig from the parameters in the GUI.
:param e: Unused event
:return: None

Here is the call graph for this function:

Here is the caller graph for this function:

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.on_close_cancel (   self,
  e 
)
Close the window but do not update the parameters.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.on_fit (   self,
  e 
)
Perform the fit, update the GUI, and plot the results.
:param e: Unused event
:return: None

Here is the call graph for this function:

Here is the caller graph for this function:

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.on_plot (   self,
  e 
)
For the sigma value in the self.ctrlmzsig, plot a simulated peak.
:param e: Unused event
:return: None

Here is the call graph for this function:

Here is the caller graph for this function:

def UniDec.unidec_modules.peakwidthtools.PeakTools1d.on_reset (   self,
  e 
)
Reset the plot to the full range.
:param e: Unused event
:return: 

Here is the caller graph for this function:

Member Data Documentation

UniDec.unidec_modules.peakwidthtools.PeakTools1d.centdat
UniDec.unidec_modules.peakwidthtools.PeakTools1d.config
UniDec.unidec_modules.peakwidthtools.PeakTools1d.ctlmzsig
UniDec.unidec_modules.peakwidthtools.PeakTools1d.ctlpsfun
UniDec.unidec_modules.peakwidthtools.PeakTools1d.data
UniDec.unidec_modules.peakwidthtools.PeakTools1d.errorbox
UniDec.unidec_modules.peakwidthtools.PeakTools1d.plot1
UniDec.unidec_modules.peakwidthtools.PeakTools1d.psfun
UniDec.unidec_modules.peakwidthtools.PeakTools1d.resbox

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