PFB#

class caput.util.pfb.PFB(ntap: int, lblock: int, window: collections.abc.Callable | None = None, oversample: int = 16)[source]#

Model for the CASPER PFB.

This is the PFB used in CHIME and other experiments.

Parameters:
ntapint

Number of taps (i.e. blocks) used in one step of the PFB.

lblockint

The length of a block that gets transformed. This is twice the number of output frequencies.

windowcallable(), optional

The window function being used. If not set, use a Sinc-Hamming window.

oversampleint, optional

The amount to oversample when calculating the decorrelation ratio. This will improve accuracy. Default is 4.

Methods#

apply(→ numpy.ndarray[numpy.complex128])

Apply the PFB to a timestream.

compute_channel_profile(...)

Compute the profile of a single frequency channel.

decorrelation_ratio(→ numpy.ndarray[numpy.float64])

Calculate the decorrelation caused by a relative delay between two timestreams.

evaluate_channel_profile(→ numpy.ndarray[numpy.complex128])

Evaluate the profile of a single frequency channel.