DataPipeline/Processing.py
def omitrange(self, x, y, xmin='',xmax='', ymin='',ymax=''):
        """Omit range of data points by given range"""
        rx=[]; ry=[]
        if xmin=='':
            xmin=min(x)
        if xmax=='':
            xmax=max(x)
        if ymin=='':
            ymin=min(y)
        if ymax=='':
            ymax=max(y)
        for i,j in zip(x,y)[:]:
            print i,j,xmin,xmax,ymin,ymax         
            if i>xmin and i<xmax and j>ymin and j<ymax:                
                rx.append(i)
                ry.append(j)
        return rx,ry
Omit range of data points by given range
Omit range of data points by given range
Omit range of data points by given range
def omitrange(self, x, y, xmin='',xmax='', ymin='',ymax=''):
        rx=[]; ry=[]
        if xmin=='':
            xmin=min(x)
        if xmax=='':
            xmax=max(x)
        if ymin=='':
            ymin=min(y)
        if ymax=='':
            ymax=max(y)
        for i,j in zip(x,y)[:]:
            print i,j,xmin,xmax,ymin,ymax         
            if i>xmin and i<xmax and j>ymin and j<ymax:                
                rx.append(i)
                ry.append(j)
        return rx,ry
def omitrange ( self , x , y , xmin = '' , xmax = '' , ymin = '' , ymax = '' ) : rx = [ ] ; ry = [ ] if xmin == '' : xmin = min ( x ) if xmax == '' : xmax = max ( x ) if ymin == '' : ymin = min ( y ) if ymax == '' : ymax = max ( y ) for i , j in zip ( x , y ) [ : ] : print i , j , xmin , xmax , ymin , ymax if i > xmin and i < xmax and j > ymin and j < ymax : rx . append ( i ) ry . append ( j ) return rx , ry
Omit range of data points by given range
Omit range of data points by given range
"""Omit range of data points by given range"""
self
x
y
xmin
xmax
ymin
ymax