DispersionDelay.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/DispersionDelay.h
10 
11 #ifndef __Pulsar_DispersionDelay_H
12 #define __Pulsar_DispersionDelay_H
13 
14 namespace Pulsar {
15 
17 
29  class DispersionDelay {
30 
31  public:
32 
35 
37  void set_dispersion_measure (const double dispersion_measure);
39  double get_dispersion_measure () const;
40 
42  void set_reference_frequency (double MHz);
44  double get_reference_frequency () const;
45 
47  void set_frequency (double MHz);
49  double get_frequency () const;
50 
52  void set_reference_wavelength (double metres);
54  double get_reference_wavelength () const;
55 
57  void set_wavelength (double metres);
59  double get_wavelength () const;
60 
62  double evaluate () const;
63 
65  typedef double Return;
67  void set_measure (double dispersion_measure);
69  double get_measure () const;
70 
71  protected:
72 
74  double dispersion_measure;
75 
77  double reference_wavelength;
78 
80  double wavelength;
81 
82  };
83 
84 }
85 
86 #endif
void set_measure(double dispersion_measure)
Set the dispersion measure.
Definition: DispersionDelay.C:33
void set_reference_frequency(double MHz)
Set the reference frequency in MHz.
Definition: DispersionDelay.C:45
double Return
enable use with the ColdPlasma template
Definition: DispersionDelay.h:75
double wavelength
Wavelength in metres.
Definition: DispersionDelay.h:90
void set_reference_wavelength(double metres)
Set the reference wavelength in metres.
Definition: DispersionDelay.C:70
double get_wavelength() const
Get the wavelength in metres.
Definition: DispersionDelay.C:89
void set_dispersion_measure(const double dispersion_measure)
Set the dispersion measure in .
Definition: DispersionDelay.C:21
double reference_wavelength
Reference wavelength in metres.
Definition: DispersionDelay.h:87
double get_frequency() const
Get the frequency in MHz.
Definition: DispersionDelay.C:64
double get_reference_frequency() const
Get the reference frequency in MHz.
Definition: DispersionDelay.C:51
double get_dispersion_measure() const
Get the dispersion measure in .
Definition: DispersionDelay.C:27
double get_measure() const
Get the dispersion measure.
Definition: DispersionDelay.C:39
double dispersion_measure
The dispersion measure.
Definition: DispersionDelay.h:84
void set_frequency(double MHz)
Set the frequency in MHz.
Definition: DispersionDelay.C:58
double get_reference_wavelength() const
Get the reference wavelength in metres.
Definition: DispersionDelay.C:76
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void set_wavelength(double metres)
Set the wavelength in metres.
Definition: DispersionDelay.C:83
DispersionDelay()
Default constructor.
Definition: DispersionDelay.C:13
double evaluate() const
Get the dispersion delay in seconds.
Definition: DispersionDelay.C:94

Generated using doxygen 1.8.17