ColdPlasmaHistory.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Extensions/Pulsar/ColdPlasmaHistory.h
10 
11 #ifndef __Pulsar_ColdPlasmaHistory_h
12 #define __Pulsar_ColdPlasmaHistory_h
13 
14 #include "Pulsar/IntegrationExtension.h"
15 
16 namespace Pulsar {
17 
19  class ColdPlasmaHistory : public Pulsar::Integration::Extension {
20 
21  public:
22 
24  ColdPlasmaHistory (const char* name);
25 
27  ColdPlasmaHistory (const ColdPlasmaHistory& extension);
28 
30  const ColdPlasmaHistory& operator= (const ColdPlasmaHistory& extension);
31 
34 
36  void set_measure (double measure);
38  double get_measure () const;
39 
41  void set_reference_wavelength (double metres);
43  double get_reference_wavelength () const;
44 
46  void set_reference_frequency (double MHz);
48  double get_reference_frequency () const;
49 
50  protected:
51 
53  double measure;
54 
56  double reference_wavelength;
57 
58  };
59 
60 }
61 
62 #endif
63 
Definition: IntegrationExtension.h:29
double measure
The correction measure.
Definition: ColdPlasmaHistory.h:63
double get_reference_wavelength() const
Get the reference wavelength.
Definition: ColdPlasmaHistory.C:59
void set_reference_wavelength(double metres)
Set the reference wavelength in metres.
Definition: ColdPlasmaHistory.C:53
~ColdPlasmaHistory()
Destructor.
Definition: ColdPlasmaHistory.C:36
double reference_wavelength
The reference wavelength in metres.
Definition: ColdPlasmaHistory.h:66
void set_reference_frequency(double MHz)
Set the reference frequency in MHz.
Definition: ColdPlasmaHistory.C:65
double get_reference_frequency() const
Get the reference frequency.
Definition: ColdPlasmaHistory.C:71
Stores parameters used to correct Faraday rotation in each Integration.
Definition: ColdPlasmaHistory.h:24
Defines the PSRCHIVE library.
Definition: CalSource.h:17
const ColdPlasmaHistory & operator=(const ColdPlasmaHistory &extension)
Assignment operator.
Definition: ColdPlasmaHistory.C:27
ColdPlasmaHistory(const char *name)
Default constructor.
Definition: ColdPlasmaHistory.C:11
void set_measure(double measure)
Set the correction measure.
Definition: ColdPlasmaHistory.C:41
double get_measure() const
Get the correction measure.
Definition: ColdPlasmaHistory.C:47

Generated using doxygen 1.8.17