IRIonosphere.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/IRIonosphere.h
10 
11 #ifndef __Calibration_IRIonosphere_H
12 #define __Calibration_IRIonosphere_H
13 
14 #include "Pulsar/Faraday.h"
15 #include "Horizon.h"
16 
17 namespace Calibration {
18 
20 
22  class IRIonosphere : public MEAL::Complex2 {
23 
24  public:
25 
28 
30  std::string get_name () const;
31 
33  void set_reference_frequency (double MHz);
35  double get_reference_frequency () const;
36 
38  void set_frequency (double MHz);
40  double get_frequency () const;
41 
43  void set_horizon (const Horizon&);
44 
46  double get_rotation_measure () const;
47 
48  protected:
49 
52 
55 
57  void build ();
58 
60  void calculate (Jones<double>& result,
61  std::vector<Jones<double> >*) {}
62 
63  };
64 
65 }
66 
67 #endif
Calibration::Faraday faraday
The Faraday rotation transformation.
Definition: IRIonosphere.h:61
void build()
Compute the rotation measure.
Definition: IRIonosphere.C:64
Faraday rotation transformation.
Definition: Faraday.h:26
double get_frequency() const
Get the frequency in MHz.
Definition: IRIonosphere.C:46
double get_reference_frequency() const
Get the reference frequency in MHz.
Definition: IRIonosphere.C:34
void calculate(Jones< double > &result, std::vector< Jones< double > > *)
Calculate the Jones matrix and its gradient.
Definition: IRIonosphere.h:70
void set_reference_frequency(double MHz)
Set the reference frequency in MHz.
Definition: IRIonosphere.C:28
void set_frequency(double MHz)
Set the frequency in MHz.
Definition: IRIonosphere.C:40
IRIonosphere()
Default constructor.
Definition: IRIonosphere.C:15
void set_horizon(const Horizon &)
Set the Horizon pointing parameters.
Definition: IRIonosphere.C:52
std::string get_name() const
Return the name of the class.
Definition: IRIonosphere.C:22
Horizon horizon
The Horizon pointing paramters.
Definition: IRIonosphere.h:64
double get_rotation_measure() const
Get the Faraday rotation measure.
Definition: IRIonosphere.C:59

Generated using doxygen 1.8.17