FRBSignalGeneration.py
def ApplyFilterBank(self,newNumChannels):
        """ 
        Applies a filterbank to the channels. Takes in the fMin to fMax data and rebins it into more channels.
        The sampling time is correspondingly increased.

        Channel 0 is the lowest frequency, Channel numChan - 1 is the highest.
        TBD!
        """
        
        nTotal = self.shape[0]*self.shape[1]
        assert nTotal % newNumChannels == 0, "Cannot cleanly divide the timeseries into %d channels! Doing nothing"%newNumChannels 

        newShape = (nTotal/newNumChannels,newNumChannels)

        self.timeSeries = np.fft.ifft(np.fft.fft(self.timeSeries,axis=0).reshape(newShape,order='F'),axis=0)

        self.sampTime = self.sampTime*newNumChannels/self.shape[1]
        self.shape = self.timeSeries.shape
 
        Applies a filterbank to the channels. Takes in the fMin to fMax data and rebins it into more channels.
        The sampling time is correspondingly increased.

        Channel 0 is the lowest frequency, Channel numChan - 1 is the highest.
        TBD!
        
Applies a filterbank to the channels. Takes in the fMin to fMax data and rebins it into more channels.
The sampling time is correspondingly increased.

Channel 0 is the lowest frequency, Channel numChan - 1 is the highest.
TBD!
Applies a filterbank to the channels . Takes in the fMin to fMax data and rebins it into more channels . The sampling time is correspondingly increased . Channel 0 is the lowest frequency Channel numChan - 1 is the highest . TBD!
def ApplyFilterBank(self,newNumChannels):
        nTotal = self.shape[0]*self.shape[1]
        assert nTotal % newNumChannels == 0, "Cannot cleanly divide the timeseries into %d channels! Doing nothing"%newNumChannels 
        newShape = (nTotal/newNumChannels,newNumChannels)
        self.timeSeries = np.fft.ifft(np.fft.fft(self.timeSeries,axis=0).reshape(newShape,order='F'),axis=0)
        self.sampTime = self.sampTime*newNumChannels/self.shape[1]
        self.shape = self.timeSeries.shape
def ApplyFilterBank ( self , newNumChannels ) : nTotal = self . shape [ 0 ] * self . shape [ 1 ] assert nTotal % newNumChannels == 0 , "Cannot cleanly divide the timeseries into %d channels! Doing nothing" % newNumChannels newShape = ( nTotal / newNumChannels , newNumChannels ) self . timeSeries = np . fft . ifft ( np . fft . fft ( self . timeSeries , axis = 0 ) . reshape ( newShape , order = 'F' ) , axis = 0 ) self . sampTime = self . sampTime * newNumChannels / self . shape [ 1 ] self . shape = self . timeSeries . shape
Applies a filterbank to the channels.
Applies a filterbank to the channels .
""" 
        Applies a filterbank to the channels. Takes in the fMin to fMax data and rebins it into more channels.
        The sampling time is correspondingly increased.

        Channel 0 is the lowest frequency, Channel numChan - 1 is the highest.
        TBD!
        """
self
newNumChannels