RotatingVectorModelShift.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2009 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Timing/Pulsar/FluxCentroid.h
10 
11 #ifndef __Pulsar_RotatingVectorModelShift_h
12 #define __Pulsar_RotatingVectorModelShift_h
13 
14 #include "Pulsar/PolnProfileShiftEstimator.h"
15 
16 namespace Pulsar {
17 
18  class ComplexRVMFit;
19 
21  class RotatingVectorModelShift : public PolnProfileShiftEstimator
22  {
23 
24  public:
25 
28 
31 
35 
38 
41 
43  Estimate<double> get_shift () const;
44 
46  void preprocess (Archive*);
47 
50  { return new EmptyInterface<RotatingVectorModelShift> ("RVM"); }
51 
52  protected:
53 
56 
57  };
58 
59 }
60 
61 
62 #endif // !defined __Pulsar_RotatingVectorModelShift_h
void preprocess(Archive *)
Prepare the data for use.
Definition: RotatingVectorModelShift.C:45
Reference::To< ComplexRVMFit > rvmfit
The ComplexRVM class used to perform the fit.
Definition: RotatingVectorModelShift.h:60
Reference::To< ScalarParameter > magnetic_meridian
Estimates phase shift using phi0 from the best-fit rotating vector model.
Definition: RotatingVectorModelShift.h:26
RotatingVectorModelShift * clone() const
Return a copy constructed instance of self.
Definition: RotatingVectorModelShift.C:89
The primary interface to pulsar observational data.
Definition: Archive.h:45
void set_reference_wavelength(double metres)
Set the reference wavelength in metres.
Definition: ColdPlasma.h:215
void execute(Archive *)
Apply the current correction to all sub-integrations in an archive.
Definition: FaradayRotation.C:66
const RotatingVectorModelShift & operator=(const RotatingVectorModelShift &)
Assignment operator.
Definition: RotatingVectorModelShift.C:79
static bool verbose
Verbosity flag.
Definition: ComplexRVMFit.h:40
void set_measure(double measure)
Set the correction measure.
Definition: ColdPlasma.h:227
~RotatingVectorModelShift()
Destructor.
Definition: RotatingVectorModelShift.C:85
Fit rotating vector model to Stokes Q and U profiles.
Definition: ComplexRVMFit.h:34
static unsigned verbose
A verbosity flag that can be set for debugging purposes.
Definition: IntegrationManager.h:38
RotatingVectorModelShift()
Default constructor.
Definition: RotatingVectorModelShift.C:65
Defines the PSRCHIVE library.
Definition: CalSource.h:17
TextInterface::Parser * get_interface()
Return a text interface that can be used to configure this instance.
Definition: RotatingVectorModelShift.h:54
Estimate< double > get_shift() const
Return the shift estimate.
Definition: RotatingVectorModelShift.C:20
Corrects Faraday rotation.
Definition: FaradayRotation.h:37

Generated using doxygen 1.8.17