blimpy/file_wrapper.py
def read_row(self,rownumber,reverse=True):
        """ Read a block of data. The number of samples per row is set in self.channels
            If reverse=True the x axis is flipped.
        """
        raise NotImplementedError('To be implemented')

        # go to start of the row
        self.filfile.seek(int(self.datastart+self.channels*rownumber*(int(self.nbits/8))))
        # read data into 2-D numpy array
        data=np.fromfile(self.filfile,count=self.channels,dtype=self.dtype).reshape(1, self.channels)
        if reverse:
            data = data[:,::-1]
        return data
def read_row(self,rownumber,reverse=True):
        """ Read a block of data. The number of samples per row is set in self.channels
            If reverse=True the x axis is flipped.
        """
        raise NotImplementedError('To be implemented')

        # go to start of the row
        self.filfile.seek(int(self.datastart+self.channels*rownumber*(int(self.nbits/8))))
        # read data into 2-D numpy array
        data=np.fromfile(self.filfile,count=self.channels,dtype=self.dtype).reshape(1, self.channels)
        if reverse:
            data = data[:,::-1]
        return data
def read_row ( self , rownumber , reverse = True ) : raise NotImplementedError ( 'To be implemented' ) # go to start of the row self . filfile . seek ( int ( self . datastart + self . channels * rownumber * ( int ( self . nbits / 8 ) ) ) ) # read data into 2-D numpy array data = np . fromfile ( self . filfile , count = self . channels , dtype = self . dtype ) . reshape ( 1 , self . channels ) if reverse : data = data [ : , : : - 1 ] return data
Read a block of data. The number of samples per row is set in self.channels
            If reverse=True the x axis is flipped.
Read a block of data . The number of samples per row is set in self . channels If reverse = True the x axis is flipped .