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

Public Member Functions

def __init__ (self, args, kwargs)
 
def init_dialog
 
def on_simulate (self, e)
 
def on_autocorr_window (self, e)
 
def on_match_isolated (self, e)
 
def on_match_all (self, e)
 
def on_close (self, e)
 
def on_close_cancel (self, e)
 
def pop_from_peaks (self, e)
 
def pop_oligo_iso (self, e)
 
def pop_oligo_all (self, e)
 
def on_clear_masslist (self, e)
 
def on_clear_oligolist (self, e)
 
def on_add_mass (self, e)
 
def on_add_oligomer (self, e)
 
def on_import_masses (self, e)
 
def on_import_oligos (self, e)
 

Public Attributes

 pks
 
 config
 
 massdat
 
 masslistbox
 
 oligomerlistbox
 
 matchlistbox
 
 ctlmatcherror
 

Constructor & Destructor Documentation

def UniDec.unidec_modules.masstools.MassSelection.__init__ (   self,
  args,
  kwargs 
)
Initialize the dialog
:param args: Passed to wx.Dialog
:param kwargs: Passed to wx.Dialog
:return: None

Member Function Documentation

def UniDec.unidec_modules.masstools.MassSelection.init_dialog (   self,
  config,
  pks,
  massdat = None 
)
Creates the dialog window and displays it.
:param config: UniDecConfig object
:param pks: Peaks object
:param massdat: Mass distribution
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_add_mass (   self,
  e 
)
Adds a blank line to the mass list.
:param e: Unused Event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_add_oligomer (   self,
  e 
)
Adds a blank line to the oligomer list.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_autocorr_window (   self,
  e 
)
Opens up an autocorrelation window for the purpose of figuring out mass differences.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_clear_masslist (   self,
  e 
)
Clears the mass list.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_clear_oligolist (   self,
  e 
)
Clears the oligomer list.
:param e: Unused Event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_close (   self,
  e 
)
Close the dialog and apply the changes.

Sets self.config.masslist to the defined mass list.
Sets self.config.oligomerlist to the defined oligomers.
Sets self.config.matchlist to the matched values
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_close_cancel (   self,
  e 
)
Close the dialog but do not modify any of the values.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_import_masses (   self,
  e 
)
Opens a dialog to import mass list files.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_import_oligos (   self,
  e 
)
Open a file dialog to import oligomer files.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.on_match_all (   self,
  e 
)
Match the peaks in self.pks to all possible combination of oligomers in the oligomerlist.
Uses ud.make_all_matches function.
Populated the matchlistbox with the results of the matching.
:param e: Unused event
:return: None
def UniDec.unidec_modules.masstools.MassSelection.on_match_isolated (   self,
  e 
)
Match the peaks in self.pks to possible combination of isolated rows of oligomers in the oligomerlist.
Uses ud.make_isolated_match function.
Populated the matchlistbox with the results of the matching.
:param e: Unused event
:return: None
def UniDec.unidec_modules.masstools.MassSelection.on_simulate (   self,
  e 
)
Replaces the peaks in self.pks with the masses defined in the self.masslistbox.
The intensity information comes from interpolating the mass distribution in self.massdat.
It flags self.pks.changes as 1, which is picked up downstream to say that these new peaks should be replotted.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.pop_from_peaks (   self,
  e 
)
Populate the mass list from the peak masses in self.pks
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.pop_oligo_all (   self,
  e 
)
Populates the mass list with all possible oligomers.
:param e: Unused event
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.masstools.MassSelection.pop_oligo_iso (   self,
  e 
)
Populate the mass list with isolated oligomer rows.
:param e: Unused event
:return: None

Here is the caller graph for this function:

Member Data Documentation

UniDec.unidec_modules.masstools.MassSelection.config
UniDec.unidec_modules.masstools.MassSelection.ctlmatcherror
UniDec.unidec_modules.masstools.MassSelection.massdat
UniDec.unidec_modules.masstools.MassSelection.masslistbox
UniDec.unidec_modules.masstools.MassSelection.matchlistbox
UniDec.unidec_modules.masstools.MassSelection.oligomerlistbox
UniDec.unidec_modules.masstools.MassSelection.pks

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