AuxColdPlasmaMeasures.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2010 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Extensions/Pulsar/AuxColdPlasmaMeasures.h
10 
11 #ifndef __Pulsar_AuxColdPlasmaMeasures_h
12 #define __Pulsar_AuxColdPlasmaMeasures_h
13 
14 #include "Pulsar/IntegrationExtension.h"
15 
16 namespace Pulsar {
17 
19  class AuxColdPlasmaMeasures : public Pulsar::Integration::Extension {
20 
21  public:
22 
25 
27  AuxColdPlasmaMeasures* clone () const;
28 
31 
33  std::string get_short_name () const { return "aux"; }
34 
36  void set_dispersion_measure (double measure);
38  double get_dispersion_measure () const;
39 
41  void set_rotation_measure (double measure);
43  double get_rotation_measure () const;
44 
46  class Interface :
47  public Integration::Extension::Interface<AuxColdPlasmaMeasures>
48  {
49  public:
51  };
52 
53  protected:
54 
57 
59  double rotation_measure;
60  };
61 
62 
63 }
64 
65 #endif
66 
Definition: IntegrationExtension.h:29
double rotation_measure
The auxiliary rotation measure.
Definition: AuxColdPlasmaMeasures.h:69
double dispersion_measure
The auxiliary dispersion measure.
Definition: AuxColdPlasmaMeasures.h:66
void set_dispersion_measure(double measure)
Set the auxiliary dispersion measure.
Definition: AuxColdPlasmaMeasures.C:23
AuxColdPlasmaMeasures * clone() const
Return a newly constructed copy of self.
Definition: AuxColdPlasmaMeasures.C:17
Convenience class implements TextInterface::To<T>::get_interface_name.
Definition: IntegrationExtension.h:67
std::string get_short_name() const
Return an abbreviated name that can be typed relatively quickly.
Definition: AuxColdPlasmaMeasures.h:43
double get_rotation_measure() const
Get the auxiliary rotation measure.
Definition: AuxColdPlasmaMeasures.C:41
Text interface to a AuxColdPlasmaMeasures instance.
Definition: AuxColdPlasmaMeasures.h:56
double get_dispersion_measure() const
Get the auxiliary dispersion measure.
Definition: AuxColdPlasmaMeasures.C:29
Defines the PSRCHIVE library.
Definition: CalSource.h:17
AuxColdPlasmaMeasures()
Default constructor.
Definition: AuxColdPlasmaMeasures.C:11
void set_rotation_measure(double measure)
Set the auxiliary rotation measure.
Definition: AuxColdPlasmaMeasures.C:35
Stores parameters used to correct auxiliary dispersion and birefringence.
Definition: AuxColdPlasmaMeasures.h:24
TextInterface::Parser * get_interface()
Return a text interfaces that can be used to access this instance.
Definition: AuxColdPlasmaMeasures.C:47

Generated using doxygen 1.8.17