PEATDB/Ekin/Dataset.py
def removeMultiple(self, lst):
        """Remove points using list of elements"""       
        rng = range(0,self.length())
        self.x=[self.x[i] for i in rng if i not in lst]
        self.y=[self.y[i] for i in rng if i not in lst]
        self.active=[self.active[i] for i in rng if i not in lst]
        for d in range(self.dims):
            self.errors[d] = [self.errors[d][i] for i in rng if i not in lst]            
        return
Remove points using list of elements
Remove points using list of elements
Remove points using list of elements
def removeMultiple(self, lst):
        rng = range(0,self.length())
        self.x=[self.x[i] for i in rng if i not in lst]
        self.y=[self.y[i] for i in rng if i not in lst]
        self.active=[self.active[i] for i in rng if i not in lst]
        for d in range(self.dims):
            self.errors[d] = [self.errors[d][i] for i in rng if i not in lst]            
        return
def removeMultiple ( self , lst ) : rng = range ( 0 , self . length ( ) ) self . x = [ self . x [ i ] for i in rng if i not in lst ] self . y = [ self . y [ i ] for i in rng if i not in lst ] self . active = [ self . active [ i ] for i in rng if i not in lst ] for d in range ( self . dims ) : self . errors [ d ] = [ self . errors [ d ] [ i ] for i in rng if i not in lst ] return
Remove points using list of elements
Remove points using list of elements
"""Remove points using list of elements"""
self
lst