Skip to content

burstfit.utils.astro

[view_source]

dedisperse

def dedisperse(data, dm, tsamp, freqs)

[view_source]

Function to dedisperse the data

Arguments:

  • data - Frequency-time array to dedisperse
  • dm - Dispersion Measure to dedisperse at
  • tsamp - Sampling time in seconds
  • freqs - Frequencies array (MHz)

Returns:

  • dedispersed - Dedispersed array
  • delay_bins - Delay in number of bins
  • delay_time - Delay times (s)

finer_dispersion_correction

def finer_dispersion_correction(dedispersed_model, delay_time, delay_bins, tsamp)

[view_source]

Function to correct for dispersion within a time sample.

Arguments:

  • dedispersed_model - Dedispersed FT array
  • delay_time - Delay times in seconds
  • delay_bins - Delays in number of bins
  • tsamp - Sampling time (s)

Returns:

  • dedispersed_model_corrected - Dedispersed and corrected array

radiometer

def radiometer(tsys, gain, bw, w)

[view_source]

Calculates the radiometer noise

Arguments:

  • tsys - Receiver Tsys in Kelvin
  • gain - Receiver gain in K/Jy
  • bw - Bandwidth of the data or burst (in Hz)
  • w - Tsamp (s)

Returns: