SimplePolnProfile.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2013 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/SimplePolnProfile.h
10 
11 #ifndef __Pulsar_SimplePolnProfile_h
12 #define __Pulsar_SimplePolnProfile_h
13 
14 #include "Pulsar/SyntheticPolnProfile.h"
15 #include "MEAL/RotatingVectorModel.h"
16 #include "MEAL/ScaledVonMises.h"
17 
18 namespace Pulsar {
19 
21  class SimplePolnProfile : public SyntheticPolnProfile
22  {
23 
24  public:
25 
28 
31 
33  MEAL::RotatingVectorModel* get_RVM () { return &rvm; }
34 
36  MEAL::ScaledVonMises* get_Intensity () { return &svm; }
37 
39  void set_centre (double);
40 
41  protected:
42 
45 
48 
49  };
50 
51 }
52 
53 #endif
~SimplePolnProfile()
Destructor.
Definition: SimplePolnProfile.C:39
MEAL::ScaledVonMises * get_Intensity()
Get the Scaled Von Mises function used to simulate the total intensity.
Definition: SimplePolnProfile.h:46
SimplePolnProfile()
Default constructor.
Definition: SimplePolnProfile.C:16
void set_centre(double)
Centre the phase centre of the profile.
Definition: SimplePolnProfile.C:44
MEAL::RotatingVectorModel * get_RVM()
Get the Rotating Vector Model used to simulate linear polarization.
Definition: SimplePolnProfile.h:43
Defines the PSRCHIVE library.
Definition: CalSource.h:17
MEAL::RotatingVectorModel rvm
The rotating vector model used to describe the position angle.
Definition: SimplePolnProfile.h:57
MEAL::ScaledVonMises svm
The gaussian total intensity profile.
Definition: SimplePolnProfile.h:54

Generated using doxygen 1.8.17