Pulsar::DispersionDelay Class Reference

Computes the dispersion delay. More...

#include <DispersionDelay.h>

Public Types

typedef double Return
 enable use with the ColdPlasma template
 

Public Member Functions

 DispersionDelay ()
 Default constructor.
 
void set_dispersion_measure (const double dispersion_measure)
 Set the dispersion measure in $ {\rm pc\,cm}^{-3} $. More...
 
double get_dispersion_measure () const
 Get the dispersion measure in $ {\rm pc\,cm}^{-3} $. More...
 
void set_reference_frequency (double MHz)
 Set the reference frequency in MHz.
 
double get_reference_frequency () const
 Get the reference frequency in MHz.
 
void set_frequency (double MHz)
 Set the frequency in MHz.
 
double get_frequency () const
 Get the frequency in MHz.
 
void set_reference_wavelength (double metres)
 Set the reference wavelength in metres.
 
double get_reference_wavelength () const
 Get the reference wavelength in metres.
 
void set_wavelength (double metres)
 Set the wavelength in metres.
 
double get_wavelength () const
 Get the wavelength in metres.
 
double evaluate () const
 Get the dispersion delay in seconds.
 
void set_measure (double dispersion_measure)
 Set the dispersion measure. More...
 
double get_measure () const
 Get the dispersion measure. More...
 

Protected Attributes

double dispersion_measure
 The dispersion measure.
 
double reference_wavelength
 Reference wavelength in metres.
 
double wavelength
 Wavelength in metres.
 

Detailed Description

Computes the dispersion delay.

This class computes the dispersion delay between two frequencies, as parameterized by the dispersion measure. Although the value:

$ DM\,({\rm pc\,cm^{-3}}) = 2.410331(2)\times10^{-4} D\,({\rm s\,MHz^{2}}) $

has been derived from "fundamental and primary physical and astronomical constants" (section 3 of Backer, Hama, van Hook and Foster 1993. ApJ 404, 636-642), the rounded value with three digits of precision is in standard use by pulsar astronomers (page 129 of Manchester and Taylor 1977).

Member Function Documentation

◆ get_dispersion_measure()

double Pulsar::DispersionDelay::get_dispersion_measure ( ) const

Get the dispersion measure in $ {\rm pc\,cm}^{-3} $.

Get the dispersion measure.

◆ get_measure()

double Pulsar::DispersionDelay::get_measure ( ) const

Get the dispersion measure.

This alias enables use of this class with the ColdPlasma template

◆ set_dispersion_measure()

void Pulsar::DispersionDelay::set_dispersion_measure ( const double  dispersion_measure)

Set the dispersion measure in $ {\rm pc\,cm}^{-3} $.

Set the dispersion measure.

◆ set_measure()

void Pulsar::DispersionDelay::set_measure ( double  dispersion_measure)

Set the dispersion measure.

This alias enables use of this class with the ColdPlasma template


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17