pipeline.domain.spectralwindow.ChannelList
- class ChannelList(chan_freqs: Sequence[int | float] | ArithmeticProgression, chan_widths: Sequence[int | float] | ArithmeticProgression, effbw: Sequence[int | float] | ArithmeticProgression)[source]
Bases:
objectA container/generator for Channel objects.
A spectral window can contain thousands of channels. Rather than store all of these objects, a ChannelList generates and returns them lazily, on-demand.
Methods
- __init__(chan_freqs: Sequence[int | float] | ArithmeticProgression, chan_widths: Sequence[int | float] | ArithmeticProgression, effbw: Sequence[int | float] | ArithmeticProgression) None[source]
Initialize a ChannelList object.
- Parameters:
chan_freqs -- Sequence or ArithmeticProgression of center frequency of channel (in Hertz) for all channels in ChannelList.
chan_widths -- Sequence or ArithmeticProgression of channel width (in Hertz) for all channels in ChannelList.
effbw -- Sequence or ArithmeticProgression of effective bandwidth (in Hertz) for all channels in ChannelList.