Baseband-tasks¶
Welcome to the Baseband-tasks documentation! Baseband-tasks is a package for reduction and analysis of radio baseband data.
If you used this package in your research, please cite it via DOI 10.5281/zenodo.3951543.
Overview¶
Tasks¶
At the core of Baseband-tasks is a collection of “tasks”, filehandle-like classes that can be linked together into a data reduction pipeline. These would generally be accessed from baseband.tasks, but are here organized by type.
- Channelization (
baseband_tasks.channelize
) - Combining streams (
baseband_tasks.combining
) - Conversion (
baseband_tasks.conversion
) - Convolution (
baseband_tasks.convolution
) - Dispersion (
baseband_tasks.dispersion
) - Functions (
baseband_tasks.functions
) - Integration and Folding (
baseband_tasks.integration
) - Polyphase Filter Banks (
baseband_tasks.pfb
) - Sampling (
baseband_tasks.sampling
) - Slicing and shape manipulation (
baseband_tasks.shaping
) - Base (
baseband_tasks.base
)
Simulation¶
To help simulate and debug reduction processes, Baseband-tasks allows one to generate fake signals.
Input/output¶
Baseband-tasks offers options to write out intermediate products as
HDF5 files and final products, such as folded profiles, in PSRFITS format.
The former, like most I/O of raw files, can also be accessed using
baseband.open()
(with format='hdf5'
for writing).
Helpers¶
Baseband-tasks also contains helper modules that assist with calculations and that link it with other software, such as Fourier transform packages or pulsar timing software.
Project details¶
Reference/API¶
baseband.tasks Package¶
Functions¶
|
Get a float sample position. |
|
Construct a sinc-hamming polyphase filter. |
Classes¶
|
Change sample shape using a callable. |
|
Base class for sample shape operations. |
|
Basic channelizer. |
|
Combining streams using a callable. |
|
Base class for combining streams. |
|
Concatenate streams along an existing axis. |
|
Convolve a time stream with a response, in the Fourier domain. |
|
Convolve a time stream with a response, in the time domain. |
|
Basic dechannelizer. |
|
Coherently dedisperse a time stream. |
|
Incoherently shift a time stream to correct for a dispersive time delay. |
|
Coherently disperse a time stream. |
|
Incoherently shift a time stream to give it a dispersive time delay. |
|
Fold pulse profiles in fixed time intervals. |
|
Index or slice the samples of a stream. |
|
Slice a stream and index or slice its samples. |
|
Integrate a stream stepwise. |
|
Dechannelize a stream produced by a polyphase filter bank. |
|
Channelize using a polyphase filter bank, in the frequency domain. |
|
Channelize using a polyphase filter bank, in the time domain. |
|
Calculate powers and cross terms for two polarizations. |
|
Convert a real baseband signal to a complex baseband signal. |
|
Resample a stream such that a sample occurs at the given offset. |
|
Reshapes the sample shape of a stream. |
|
Reshapes the sample shape of a stream and transpose its axes. |
|
Wrapper for streams that allows one to set or change attributes. |
|
Shift and optionally resample a stream in time. |
|
Shift channels in a stream by integer numbers of samples. |
|
Converts samples to intensities by squaring. |
|
Create a stream of pulse profiles. |
|
Apply a user-supplied callable to a stream. |
|
Delay a stream by a given amount, taking care of phase rotations. |
|
Reshapes the axes of the samples of a stream. |