DedisperseSamples¶
- class baseband_tasks.dispersion.DedisperseSamples(ih, dm, *, reference_frequency=None, samples_per_frame=None, frequency=None, sideband=None)[source] [edit on github]¶
Bases:
DisperseSamplesIncoherently shift a time stream to correct for a dispersive time delay.
This task does not handle any in-channel dispersive smearing, but only shifts the samples according to the mid-channel frequency.
- Parameters:
- ihtask or
basebandstream reader Input data stream, with time as the first axis.
- dmfloat or
DispersionMeasurequantity Dispersion measure to correct for. If negative, will disperse, but clearer to use
DisperseSamples.- reference_frequency
Quantity Frequency to which the data should be dispersed. Can be an array. By default, the mean frequency.
- samples_per_frameint, optional
Number of dedispersed samples which should be produced in one go. The number of input samples used will be larger to avoid wrapping. If not given, the minimum length that gives at least 75% efficiency and ensures efficient fast fourier transforms.
- frequency
Quantity, optional Frequencies for each channel in
ih. Default: taken fromih(if available).- sidebandarray, optional
Whether frequencies in
ihare upper (+1) or lower (-1) sideband. Default: taken fromih(if available). Note that while this is only used if the data is real (to calculate the mid-channel frequency), it should always be passed in together withfrequency, since otherwise other tasks cannot interpret frequency correctly.
- ihtask or
See also
baseband_tasks.dispersion.DisperseSamplesfor incoherent dispersion
baseband_tasks.dispersion.Dedispersefor coherent dedispersion
Attributes Summary
Attributes Documentation
- dm¶