UniDec
Universal Deconvolution of Mass and Ion Mobility Spectra

Classes  
class  ManualListCrtl 
class  ManualListCtrlPanel 
class  ManualSelection 
Functions  
def  closest (x, y, manlist) 
def  correctassignments (manlist, xdat, ydat) 
def  range_overlap (a_min, a_max, b_min, b_max) 
def  checkoverlap (l1, l2) 
def  detectoverlap (manlist) 
Variables  
string  __author__ = 'Michael.Marty' 
def UniDec.unidec_modules.ManualSelectionWindow.checkoverlap  (  l1,  
l2  
) 
Check whether two lines of manual assignments are overlapping. :param l1: Line 1 (1 x 5) :param l2: Line 2 (1 x 5) :return: True if overlapping, False if not.
def UniDec.unidec_modules.ManualSelectionWindow.closest  (  x,  
y,  
manlist  
) 
For manlist of manual assignments and an (x,y) point, finds the nearest manual assignment. Used in correcting overlapping rectanges. :param x: Float :param y: Float :param manlist: Array of manual assignment for IMMS (N x 5) :return: out, pos out is the line in manlist that is closest. pos is the position of the line in manlist.
def UniDec.unidec_modules.ManualSelectionWindow.correctassignments  (  manlist,  
xdat,  
ydat  
) 
Correct the manual assignments so that they are not overlapping in IMMS. :param manlist: List of manual assignments in (N x 5) array. :param xdat: xaxis (m/z) :param ydat: yaxis (arrival time) :return: manlist3, a new array of values corrected to eliminate overlap.
def UniDec.unidec_modules.ManualSelectionWindow.detectoverlap  (  manlist  ) 
For a list of IMMS manual assignments, check if any of the rectangles are overlapping. :param manlist: Array of manual assignments (N x 5) :return: True if overlapping, False if not.
def UniDec.unidec_modules.ManualSelectionWindow.range_overlap  (  a_min,  
a_max,  
b_min,  
b_max  
) 
Checks whether two specific ranges of [a_min,a_max] and [b_min,b_max] overlap. :param a_min: :param a_max: :param b_min: :param b_max: :return: True if overlapping, False if not.
string UniDec.unidec_modules.ManualSelectionWindow.__author__ = 'Michael.Marty' 