RotatingVectorModel.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2005-2009 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/MEAL/MEAL/RotatingVectorModel.h
10
11#ifndef __RotatingVectorModel_H
12#define __RotatingVectorModel_H
13
14#include "MEAL/RVM.h"
15#include "MEAL/SumRule.h"
16
17namespace MEAL {
18
19 class ScalarParameter;
20
22
23 class RotatingVectorModel : public RVM
24 {
25
26 public:
27
30
33
36
39
42
45
48
50 void use_impact (bool flag = true);
51
52 // ///////////////////////////////////////////////////////////////////
53 //
54 // Function implementation
55 //
56 // ///////////////////////////////////////////////////////////////////
57
59 std::string get_name () const;
60
61 private:
62
63 void calculate (double&, std::vector<double>*) {}
64 void init ();
65
66 // the sum rule used to switch between zeta and beta
68
69 };
70
71}
72
73#endif
virtual void copy(const Function *model)
Does the work for operator =.
Definition Function.C:58
Reference::To< ScalarParameter > line_of_sight
zeta: colatitude of line of sight with respect to spin axis
Definition RotatingVectorModel.h:41
RotatingVectorModel()
Default constructor.
Definition RotatingVectorModel.C:87
void use_impact(bool flag=true)
Switch to using impact as a free parameter.
Definition RotatingVectorModel.C:51
std::string get_name() const
Return the name of the class.
Definition RotatingVectorModel.C:112
RotatingVectorModel & operator=(const RotatingVectorModel &copy)
Assignment operator.
Definition RotatingVectorModel.C:101
Reference::To< ScalarParameter > impact
beta: colatitude of line of sight with respect to magnetic axis
Definition RotatingVectorModel.h:47
Reference::To< ScalarParameter > magnetic_axis
alpha: colatitude of magnetic axis with respect to spin axis
Definition RotatingVectorModel.h:44
~RotatingVectorModel()
Destructor.
Definition RotatingVectorModel.C:107
Represents a scalar parameter, .
Definition ScalarParameter.h:19
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0