burstfit.utils.astro
dedisperse
def dedisperse(data, dm, tsamp, freqs)
Function to dedisperse the data
Arguments:
data
- Frequency-time array to dedispersedm
- Dispersion Measure to dedisperse attsamp
- Sampling time in secondsfreqs
- Frequencies array (MHz)
Returns:
dedispersed
- Dedispersed arraydelay_bins
- Delay in number of binsdelay_time
- Delay times (s)
finer_dispersion_correction
def finer_dispersion_correction(dedispersed_model, delay_time, delay_bins, tsamp)
Function to correct for dispersion within a time sample.
Arguments:
dedispersed_model
- Dedispersed FT arraydelay_time
- Delay times in secondsdelay_bins
- Delays in number of binstsamp
- Sampling time (s)
Returns:
dedispersed_model_corrected
- Dedispersed and corrected array
radiometer
def radiometer(tsys, gain, bw, w)
Calculates the radiometer noise
Arguments:
tsys
- Receiver Tsys in Kelvingain
- Receiver gain in K/Jybw
- Bandwidth of the data or burst (in Hz)w
- Tsamp (s)
Returns: