blimpy/file_wrapper.py
def _calc_selection_size(self):
        """Calculate size of data of interest.
        """

        #Check to see how many integrations requested
        n_ints = self.t_stop - self.t_start
        #Check to see how many frequency channels requested
        n_chan = (self.f_stop - self.f_start) / abs(self.header[b'foff'])

        n_bytes  = self._n_bytes
        selection_size = int(n_ints*n_chan*n_bytes)

        return selection_size
def _calc_selection_size(self):
        """Calculate size of data of interest.
        """

        #Check to see how many integrations requested
        n_ints = self.t_stop - self.t_start
        #Check to see how many frequency channels requested
        n_chan = (self.f_stop - self.f_start) / abs(self.header[b'foff'])

        n_bytes  = self._n_bytes
        selection_size = int(n_ints*n_chan*n_bytes)

        return selection_size
def _calc_selection_size ( self ) : #Check to see how many integrations requested n_ints = self . t_stop - self . t_start #Check to see how many frequency channels requested n_chan = ( self . f_stop - self . f_start ) / abs ( self . header [ b'foff' ] ) n_bytes = self . _n_bytes selection_size = int ( n_ints * n_chan * n_bytes ) return selection_size
Calculate size of data of interest.
Calculate size of data of interest .