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

Public Member Functions

def __init__
 
def getfromgui (self)
 
def makegrid (self)
 
def extractall (self)
 
def makeplot (self)
 
def makeplottotal (self)
 
def makeplotwap (self)
 
def on_close
 
def on_back
 
def on_next
 
def on_total
 
def on_wap (self, e)
 
def on_save_fig (self, e)
 
def on_save_figPDF (self, e)
 

Public Attributes

 filemenu
 
 menuSaveFigPNG
 
 menuSaveFigPDF
 
 menuBar
 
 config
 
 directory
 
 header
 
 params
 
 datalist
 
 dlen
 
 pos
 
 yvals
 
 storediscrete
 
 plot1
 
 plot2
 
 ctlm0
 
 ctlm1
 
 ctlm2
 
 ctlm1min
 
 ctlm1max
 
 ctlm2min
 
 ctlm2max
 
 ctlwindow
 
 ctlnorm
 
 normflag
 
 m1range
 
 m2range
 
 m2grid
 
 massgrid
 
 igrid
 

Constructor & Destructor Documentation

def UniDec.unidec_modules.Extract2D.Extract2DPlot.__init__ (   self,
  parent,
  data_list,
  config = None,
  yvals = None,
  directory = None,
  header = None,
  params = None 
)
Create wx.Frame and initialzie components
:param parent: Parent window or panel passed to wx.Frame
:param data_list: Input data for extraction in a list of arrays (N x 2)
:param config: UniDecConfig object. If None, will use defaults.
:param yvals: Position values for corresponding data_list elements.
For plots, these become the titles. For the Weighted-Average-of-Position (WAP) these are the position values.
:param directory: Directory for saving files. Default is current working directory.
:param header: Header for files that are written. Default is "Extract"
:param params: List of 8 values that define the parameters for extraction.

0=mass 0
1=mass 1
2=mass 2
3=minimum oligomeric state of mass 1
4=maximum oligomeric state of mass 1
5=minimum oligomeric state of mass 2
6=maximum oligomeric state of mass 2
7=Error window for finding intensity value

masses = m0 + m1 * range(min m1, max m1 +1) + m2 * range(min m2, max m2 +1)

:return: None

Member Function Documentation

def UniDec.unidec_modules.Extract2D.Extract2DPlot.extractall (   self)
Extract intensity values from self.datalist for mass values in self.massgrid.
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.getfromgui (   self)
Extract parameters from GUI to self.params
:return:

Here is the caller graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.makegrid (   self)
Make grid of mass values for potential combinations of m1 and m2 + m0.
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.makeplot (   self)
Make the 2D and 1D plots for element self.pos in data_list.
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.makeplottotal (   self)
Make the 2D and 1D plots for the sum of all arrays in data_list. Write outputs to _grid_2D_extract.txt and
_total_2D_extract.txt.
:return:

Here is the caller graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.makeplotwap (   self)
Calculates the weighted average of position (WAP) for each element in the intensity grid.
Writes 1D output to _WAP_2D_Extract.txt.
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.on_back (   self,
  e = None 
)
PLot the extraction from the previous array in data_list.
:param e: Unused event
:return:

Here is the call graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.on_close (   self,
  e = None 
)
Close the window. Return self.config.discreteplot to its original value.
:param e:
:return:

Here is the caller graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.on_next (   self,
  e = None 
)
Plot the extraction from the next array in data_list.
:param e: Unused event
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.on_save_fig (   self,
  e 
)
Save figures as a PNG in self.directory.
:param e: Unused event
:return: None
def UniDec.unidec_modules.Extract2D.Extract2DPlot.on_save_figPDF (   self,
  e 
)
Save figures as a PDF in self.directory.
:param e: Unused event
:return: None
def UniDec.unidec_modules.Extract2D.Extract2DPlot.on_total (   self,
  e = None 
)
Extract all and plot total.
:param e: Unused event
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.Extract2D.Extract2DPlot.on_wap (   self,
  e 
)
Extract all and plot weighted average of position.
:param e: Unused event
:return: None

Here is the call graph for this function:

Member Data Documentation

UniDec.unidec_modules.Extract2D.Extract2DPlot.config
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlm0
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlm1
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlm1max
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlm1min
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlm2
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlm2max
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlm2min
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlnorm
UniDec.unidec_modules.Extract2D.Extract2DPlot.ctlwindow
UniDec.unidec_modules.Extract2D.Extract2DPlot.datalist
UniDec.unidec_modules.Extract2D.Extract2DPlot.directory
UniDec.unidec_modules.Extract2D.Extract2DPlot.dlen
UniDec.unidec_modules.Extract2D.Extract2DPlot.filemenu
UniDec.unidec_modules.Extract2D.Extract2DPlot.header
UniDec.unidec_modules.Extract2D.Extract2DPlot.igrid
UniDec.unidec_modules.Extract2D.Extract2DPlot.m1range
UniDec.unidec_modules.Extract2D.Extract2DPlot.m2grid
UniDec.unidec_modules.Extract2D.Extract2DPlot.m2range
UniDec.unidec_modules.Extract2D.Extract2DPlot.massgrid
UniDec.unidec_modules.Extract2D.Extract2DPlot.menuBar
UniDec.unidec_modules.Extract2D.Extract2DPlot.menuSaveFigPDF
UniDec.unidec_modules.Extract2D.Extract2DPlot.menuSaveFigPNG
UniDec.unidec_modules.Extract2D.Extract2DPlot.normflag
UniDec.unidec_modules.Extract2D.Extract2DPlot.params
UniDec.unidec_modules.Extract2D.Extract2DPlot.plot1
UniDec.unidec_modules.Extract2D.Extract2DPlot.plot2
UniDec.unidec_modules.Extract2D.Extract2DPlot.pos
UniDec.unidec_modules.Extract2D.Extract2DPlot.storediscrete
UniDec.unidec_modules.Extract2D.Extract2DPlot.yvals

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