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

Public Member Functions

def __init__
 
def on_close (self, e)
 
def getfromgui (self)
 
def makeplot (self)
 
def makeplottotal
 
def on_back (self, e)
 
def on_next (self, e)
 
def on_peaks (self, e)
 
def on_save_fig (self, e)
 
def on_save_fig_pdf (self, e)
 
def on_add_line (self, e)
 

Public Attributes

 directory
 
 parent
 
 m0
 
 config
 
 pos
 
 yvals
 
 ylab
 
 nbins
 
 transformmode
 
 centermode
 
 xtype
 
 factor
 
 xlab
 
 datalist
 
 plotmenu
 
 menuaddline
 
 plot1
 
 plot2
 
 ctlm0
 
 ctlwindow
 
 pks
 
 radiobox
 
 radiobox2
 
 radiobox3
 

Constructor & Destructor Documentation

def UniDec.unidec_modules.MassDefects.MassDefectWindow.__init__ (   self,
  parent,
  data_list,
  config = None,
  yvals = None,
  pks = None,
  value = None,
  directory = None 
)
Creates a window for visualizing high-mass mass defects.
:param parent: Passed to wx.Frame
:param data_list: List of mass distribution data.
:param config: UniDecConfig object
:param yvals: List of titles for each mass distribution in data_list
:param pks: Peaks object
:param value: Kendrick reference mass (default is 760.076, the mass of POPC)
:param directory: Directory to save files to (default is os.getcwd())
:return: None

Member Function Documentation

def UniDec.unidec_modules.MassDefects.MassDefectWindow.getfromgui (   self)
Update parameters from GUI.
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.MassDefects.MassDefectWindow.makeplot (   self)
Runs the kendrick analysis on a single of the mass distributions in self.datalist set by self.pos.
Plots the results in 1D and 2D.
:return: None

Here is the call graph for this function:

Here is the caller graph for this function:

def UniDec.unidec_modules.MassDefects.MassDefectWindow.makeplottotal (   self,
  e = None 
)
Runs the kendrick analysis on all of the mass distributions in self.datalist.
Assumes they are all the same dimensions, which is why we run mergedata when it is loaded.
Sums the results and plots the sums in 1D and 2D.
:param e: Unused event
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.MassDefects.MassDefectWindow.on_add_line (   self,
  e 
)
Add a horizontal line to the plot to visualize a predicted mass defect.
Opens a dialog to input the value. Can be called more than once to add multiple lines.
:param e: Unused event
:return: None
def UniDec.unidec_modules.MassDefects.MassDefectWindow.on_back (   self,
  e 
)
Plot the mass defect of the previous thing in the mass defect list.
:param e: Unused event
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.MassDefects.MassDefectWindow.on_close (   self,
  e 
)
Close the window. Will try to set self.config.molig as self.m0.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.MassDefects.MassDefectWindow.on_next (   self,
  e 
)
Plot the mass defect of the next thing in the mass defect list.
:param e: Unused event
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.MassDefects.MassDefectWindow.on_peaks (   self,
  e 
)
For each peak in self.pks, get the mass defects and plot them.
:param e: Unused event
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.MassDefects.MassDefectWindow.on_save_fig (   self,
  e 
)
Saves the figures in self.directory as PNGs.
:param e: Unused event
:return: None
def UniDec.unidec_modules.MassDefects.MassDefectWindow.on_save_fig_pdf (   self,
  e 
)
Saves the figures in self.directory as PDFs.
:param e: Unused event
:return: None

Member Data Documentation

UniDec.unidec_modules.MassDefects.MassDefectWindow.centermode
UniDec.unidec_modules.MassDefects.MassDefectWindow.config
UniDec.unidec_modules.MassDefects.MassDefectWindow.ctlm0
UniDec.unidec_modules.MassDefects.MassDefectWindow.ctlwindow
UniDec.unidec_modules.MassDefects.MassDefectWindow.datalist
UniDec.unidec_modules.MassDefects.MassDefectWindow.directory
UniDec.unidec_modules.MassDefects.MassDefectWindow.factor
UniDec.unidec_modules.MassDefects.MassDefectWindow.m0
UniDec.unidec_modules.MassDefects.MassDefectWindow.menuaddline
UniDec.unidec_modules.MassDefects.MassDefectWindow.nbins
UniDec.unidec_modules.MassDefects.MassDefectWindow.parent
UniDec.unidec_modules.MassDefects.MassDefectWindow.pks
UniDec.unidec_modules.MassDefects.MassDefectWindow.plot1
UniDec.unidec_modules.MassDefects.MassDefectWindow.plot2
UniDec.unidec_modules.MassDefects.MassDefectWindow.plotmenu
UniDec.unidec_modules.MassDefects.MassDefectWindow.pos
UniDec.unidec_modules.MassDefects.MassDefectWindow.radiobox
UniDec.unidec_modules.MassDefects.MassDefectWindow.radiobox2
UniDec.unidec_modules.MassDefects.MassDefectWindow.radiobox3
UniDec.unidec_modules.MassDefects.MassDefectWindow.transformmode
UniDec.unidec_modules.MassDefects.MassDefectWindow.xlab
UniDec.unidec_modules.MassDefects.MassDefectWindow.xtype
UniDec.unidec_modules.MassDefects.MassDefectWindow.ylab
UniDec.unidec_modules.MassDefects.MassDefectWindow.yvals

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