PolynomialInfo.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/PolynomialInfo.h
10 
11 #ifndef __Pulsar_PolynomialInfo_H
12 #define __Pulsar_PolynomialInfo_H
13 
14 #include "Pulsar/VariationInfo.h"
15 #include "MEAL/Polynomial.h"
16 
17 namespace Pulsar {
18 
20  class PolynomialInfo : public VariationInfo {
21 
22  public:
23 
26 
28  std::string get_title () const;
29 
31  unsigned get_nclass () const;
32 
34  std::string get_name (unsigned iclass) const;
35 
37  unsigned get_nparam (unsigned iclass) const;
38 
40  Estimate<float> get_param (unsigned ichan, unsigned iclass,
41  unsigned iparam) const;
42 
44  const MEAL::Polynomial* get_Polynomial (unsigned ichan) const;
45 
46  protected:
47 
49  unsigned ncoef;
50 
51  };
52 
53 }
54 
55 #endif
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
unsigned ncoef
number of polynomial coefficients
Definition: PolynomialInfo.h:59
unsigned get_nparam() const
Communicates time variation parameters to plotting routines.
Definition: VariationInfo.h:25
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: PolynomialInfo.C:55
std::string get_name(unsigned iclass) const
Return the name of the specified class.
Definition: VariationInfo.C:56
unsigned get_nclass() const
Return the number of parameter classes.
Definition: PolynomialInfo.C:48
static unsigned verbose
Verbosity level.
Definition: Calibrator.h:40
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition: PolynomialInfo.C:61
const MEAL::Polynomial * get_Polynomial(unsigned ichan) const
Return the Polynomial function for the specified channel.
Definition: PolynomialInfo.C:37
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition: PolynomialInfo.C:68
PolynomialInfo(const SystemCalibrator *calibrator, Which which)
Construct with code of which function to plot.
Definition: PolynomialInfo.C:15
Which
Things that vary in a SystemCalibrator.
Definition: VariationInfo.h:35
Defines the PSRCHIVE library.
Definition: CalSource.h:17
std::string get_title() const
Return the title.
Definition: PolynomialInfo.C:42
Estimate< double > get_Estimate(unsigned index) const

Generated using doxygen 1.8.17