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
16namespace 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_label (unsigned iclass) const;
37
39 unsigned get_nparam (unsigned iclass) const;
40
42 Estimate<float> get_param (unsigned ichan, unsigned iclass, unsigned iparam) const;
43
44 protected:
45
47
48 };
49
50}
51
52#endif
FluxCalibrator parameter communication.
Definition FluxCalibratorInfo.h:20
std::string get_title() const
Return the title.
Definition FluxCalibratorInfo.C:13
Info(const FluxCalibrator *cal)
Constructor.
Definition FluxCalibratorInfo.h:24
unsigned get_nchan() const
Return the number of frequency channels.
Definition FluxCalibratorInfo.C:19
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition FluxCalibratorInfo.C:38
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition FluxCalibratorInfo.C:44
unsigned get_nclass() const
Return the number of parameter classes.
Definition FluxCalibratorInfo.h:33
std::string get_label(unsigned iclass) const
Return the name of the specified class.
Definition FluxCalibratorInfo.C:25
FluxCalibrator(const Archive *archive=0)
Default constructor.
Definition FluxCalibrator.C:49
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0