VariationInfo.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2007 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/VariationInfo.h
10 
11 #ifndef __Pulsar_VariationInfo_H
12 #define __Pulsar_VariationInfo_H
13 
14 #include "Pulsar/SystemCalibrator.h"
15 #include "MEAL/Scalar.h"
16 
17 namespace Pulsar {
18 
20  class VariationInfo : public Calibrator::Info {
21 
22  public:
23 
25  enum Which {
27  Gain,
29  Boost,
31  Rotation
32  };
33 
36 
38  unsigned get_nchan () const;
39 
41  std::string get_name (unsigned iclass) const;
42 
44  const MEAL::Scalar* get_Scalar (unsigned ichan) const;
45 
46  protected:
47 
50 
52  Which which;
53 
54  };
55 
56 }
57 
58 #endif
@ Rotation
Differential phase.
Definition: VariationInfo.h:46
Which which
Which function to plot.
Definition: VariationInfo.h:62
Reference::To< const SystemCalibrator > calibrator
The SystemCalibrator containing the step functions.
Definition: VariationInfo.h:59
PolnCalibrator with estimated calibrator Stokes parameters.
Definition: SystemCalibrator.h:43
std::string get_name(unsigned iclass) const
Return the name of the specified class.
Definition: VariationInfo.C:56
@ Boost
Differential gain.
Definition: VariationInfo.h:44
unsigned get_nchan() const
Return the number of frequency channels.
Definition: VariationInfo.C:49
Which
Things that vary in a SystemCalibrator.
Definition: VariationInfo.h:35
VariationInfo(const SystemCalibrator *calibrator, Which which)
Construct with which function to plot.
Definition: VariationInfo.C:14
const MEAL::Scalar * get_Scalar(unsigned ichan) const
Return the Scalar variation function for the specified channel.
Definition: VariationInfo.C:23
@ Gain
Absolute gain.
Definition: VariationInfo.h:42
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17