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
16namespace 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
virtual void copy(const Function *model)
Does the work for operator =.
Definition Function.C:58
OrthoRVM()
Default constructor.
Definition OrthoRVM.C:61
Reference::To< ScalarParameter > lambda
lambda = cot(zeta) (cotangent of colatitude of the line of sight)
Definition OrthoRVM.h:44
~OrthoRVM()
Destructor.
Definition OrthoRVM.C:81
std::string get_name() const
Return the name of the class.
Definition OrthoRVM.C:86
Reference::To< ScalarParameter > kappa
kappa = 1/(dPsi/dphi) (inverse of slope at magnetic meridian)
Definition OrthoRVM.h:41
void set_line_of_sight(double radians)
colatitude of line of sight with respect to spin axis
Definition OrthoRVM.C:50
OrthoRVM & operator=(const OrthoRVM &copy)
Assignment operator.
Definition OrthoRVM.C:75
Convenience interface to building expressions from elements.
Definition ScalarMath.h:19
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0