FluxCalibratorInfo.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2003 - 2019 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/FluxCalibratorInfo.h
10 
11 #ifndef __Pulsar_FluxCalibratorInfo_H
12 #define __Pulsar_FluxCalibratorInfo_H
13 
14 #include "Pulsar/FluxCalibrator.h"
15 
16 namespace Pulsar {
17 
19  class FluxCalibrator::Info : public Calibrator::Info
20  {
21  public:
22 
24  Info (const FluxCalibrator* cal) { instance = cal; }
25 
27  std::string get_title () const;
28 
30  unsigned get_nchan () const;
31 
33  unsigned get_nclass () const { return 2; }
34 
36  std::string get_name (unsigned iclass) const;
37 
39  unsigned get_nparam (unsigned iclass) const;
40 
42  Estimate<float> get_param (unsigned ichan, unsigned iclass,
43  unsigned iparam) const;
44 
45  protected:
46 
48 
49  };
50 
51 }
52 
53 #endif
unsigned get_nclass() const
Return the number of parameter classes.
Definition: FluxCalibratorInfo.h:43
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition: FluxCalibratorInfo.C:38
std::string get_name(unsigned iclass) const
Return the name of the specified class.
Definition: FluxCalibratorInfo.C:25
Info(const FluxCalibrator *cal)
Constructor.
Definition: FluxCalibratorInfo.h:34
Calibrates flux using standard candles and artificial sources.
Definition: FluxCalibrator.h:29
Defines the PSRCHIVE library.
Definition: CalSource.h:17
unsigned get_nchan() const
Return the number of frequency channels.
Definition: FluxCalibratorInfo.C:19
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition: FluxCalibratorInfo.C:44
std::string get_title() const
Return the title.
Definition: FluxCalibratorInfo.C:13

Generated using doxygen 1.8.17