FRBSignalGeneration.py
def ConvertToIntensity(self,binFactor=1):
        """
        Does autocorrelate and resampling of the timeSeries 
        """

        outputArray = np.float16(np.abs(self.timeSeries))

        if self.shape[0] % binFactor > 0:
            if VERBOSE:
                print "Cannot cleanly divide the TimeSeries. Did nothing."
                return None
        else:

            shape = (self.shape[0]/binFactor,self.shape[1])
            sh = shape[0],self.shape[0]//shape[0],shape[1],self.shape[1]//shape[1]

            return IntensityTimeSeries(timeSeries=outputArray.reshape(sh).mean(-1).mean(1),sampTime=self.sampTime*binFactor,fMin = self.fMin, fMax = self.fMax)

        Does autocorrelate and resampling of the timeSeries 
        
Does autocorrelate and resampling of the timeSeries
Does autocorrelate and resampling of the timeSeries
def ConvertToIntensity(self,binFactor=1):
        outputArray = np.float16(np.abs(self.timeSeries))
        if self.shape[0] % binFactor > 0:
            if VERBOSE:
                print "Cannot cleanly divide the TimeSeries. Did nothing."
                return None
        else:
            shape = (self.shape[0]/binFactor,self.shape[1])
            sh = shape[0],self.shape[0]//shape[0],shape[1],self.shape[1]//shape[1]
            return IntensityTimeSeries(timeSeries=outputArray.reshape(sh).mean(-1).mean(1),sampTime=self.sampTime*binFactor,fMin = self.fMin, fMax = self.fMax)
def ConvertToIntensity ( self , binFactor = 1 ) : outputArray = np . float16 ( np . abs ( self . timeSeries ) ) if self . shape [ 0 ] % binFactor > 0 : if VERBOSE : print "Cannot cleanly divide the TimeSeries. Did nothing." return None else : shape = ( self . shape [ 0 ] / binFactor , self . shape [ 1 ] ) sh = shape [ 0 ] , self . shape [ 0 ] // shape [ 0 ] , shape [ 1 ] , self . shape [ 1 ] // shape [ 1 ] return IntensityTimeSeries ( timeSeries = outputArray . reshape ( sh ) . mean ( - 1 ) . mean ( 1 ) , sampTime = self . sampTime * binFactor , fMin = self . fMin , fMax = self . fMax )
Does autocorrelate and resampling of the timeSeries
Does autocorrelate and resampling of the timeSeries
"""
        Does autocorrelate and resampling of the timeSeries 
        """
self
binFactor