OrthoRVM.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2021 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/OrthoRVM.h
10 
11 #ifndef __MEAL_OrthoRVM_H
12 #define __MEAL_OrthoRVM_H
13 
14 #include "MEAL/RVM.h"
15 
16 namespace MEAL {
17 
19  class OrthoRVM : public RVM
20  {
21 
22  public:
23 
25  OrthoRVM ();
26 
28  OrthoRVM (const OrthoRVM& copy);
29 
32 
34  ~OrthoRVM ();
35 
37  void set_line_of_sight (double radians);
38  Estimate<double> get_line_of_sight () const;
39 
42 
45 
46  // ///////////////////////////////////////////////////////////////////
47  //
48  // Function implementation
49  //
50  // ///////////////////////////////////////////////////////////////////
51 
53  std::string get_name () const;
54 
55  private:
56 
57  ScalarMath cos_zeta;
58  void init ();
59  };
60 
61 }
62 
63 #endif
const ScalarMath tan(const ScalarMath &x)
Return a ScalarMath instance representing tan(x)
Definition: ScalarMath.C:176
void set_line_of_sight(double radians)
colatitude of line of sight with respect to spin axis
Definition: OrthoRVM.C:50
OrthoRVM()
Default constructor.
Definition: OrthoRVM.C:61
std::string get_name() const
Return the name of the class.
Definition: OrthoRVM.C:86
Abstract template base class of univariate Function implementations.
Definition: Univariate.h:26
const ScalarMath sin(const ScalarMath &x)
Return a ScalarMath instance representing sin(x)
Definition: ScalarMath.C:160
const ScalarMath sqrt(const ScalarMath &x)
Return a ScalarMath instance representing x^.5.
Definition: ScalarMath.C:151
Orthometric Rotating Vector Model (RVM)
Definition: OrthoRVM.h:24
Reference::To< ScalarParameter > kappa
kappa = 1/(dPsi/dphi) (inverse of slope at magnetic meridian)
Definition: OrthoRVM.h:51
~OrthoRVM()
Destructor.
Definition: OrthoRVM.C:81
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
OrthoRVM & operator=(const OrthoRVM &copy)
Assignment operator.
Definition: OrthoRVM.C:75
Convenience interface to building expressions from elements.
Definition: ScalarMath.h:24
const ScalarMath cos(const ScalarMath &x)
Return a ScalarMath instance representing cos(x)
Definition: ScalarMath.C:168
virtual void copy(const Function *model)
Does the work for operator =.
Definition: Function.C:58
Reference::To< ScalarParameter > lambda
lambda = cot(zeta) (cotangent of colatitude of the line of sight)
Definition: OrthoRVM.h:54

Generated using doxygen 1.8.17