blimpy/file_wrapper.py
def _calc_selection_shape(self):
        """Calculate shape of data of interest.
        """

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

        selection_shape = (n_ints,int(self.header[b'nifs']),n_chan)

        return selection_shape
def _calc_selection_shape(self):
        """Calculate shape of data of interest.
        """

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

        selection_shape = (n_ints,int(self.header[b'nifs']),n_chan)

        return selection_shape
def _calc_selection_shape ( self ) : #Check how many integrations requested n_ints = int ( self . t_stop - self . t_start ) #Check how many frequency channels requested n_chan = int ( np . round ( ( self . f_stop - self . f_start ) / abs ( self . header [ b'foff' ] ) ) ) selection_shape = ( n_ints , int ( self . header [ b'nifs' ] ) , n_chan ) return selection_shape
Calculate shape of data of interest.
Calculate shape of data of interest .