SingleAxisCalibratorInfo.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2003 - 2023 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Polarimetry/Pulsar/SingleAxisCalibrator.h
10
11#ifndef __Pulsar_SingleAxisCalibratorInfo_H
12#define __Pulsar_SingleAxisCalibratorInfo_H
13
14#include "Pulsar/SingleAxisCalibrator.h"
15#include "Pulsar/PolnCalibratorInfo.h"
16
17namespace Pulsar {
18
20 class SingleAxisCalibrator::Info : public PolnCalibrator::Info
21 {
22
23 public:
24
26 Info (const PolnCalibrator* calibrator);
27
29 unsigned get_nparam () const { return 3; }
30
32 std::string get_title () const override;
33
35 unsigned get_nclass () const override;
36
38 std::string get_label (unsigned iclass) const override;
39
41 unsigned get_nparam (unsigned iclass) const override;
42
44 std::string get_param_name (unsigned iparam) const override;
45
47 Estimate<float> get_param (unsigned ichan,
48 unsigned iclass,
49 unsigned iparam) const override;
50
51 };
52
53}
54
55#endif
Polarimetric calibrators.
Definition PolnCalibrator.h:37
Communicates SingleAxisCalibrator parameters.
Definition SingleAxisCalibratorInfo.h:21
unsigned get_nclass() const override
Return the number of parameter classes.
Definition SingleAxisCalibratorInfo.C:23
unsigned get_nparam() const
Return the number of parameters.
Definition SingleAxisCalibratorInfo.h:29
std::string get_param_name(unsigned iparam) const override
Return the PGPLOT-encoded name of the specified parameter.
Definition SingleAxisCalibratorInfo.C:28
std::string get_title() const override
Return the title.
Definition SingleAxisCalibratorInfo.C:18
std::string get_label(unsigned iclass) const override
Return the PGPLOT-encoded label of the specified class.
Definition SingleAxisCalibratorInfo.C:43
Info(const PolnCalibrator *calibrator)
Constructor.
Definition SingleAxisCalibratorInfo.C:13
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const override
Return the estimate of the specified parameter.
Definition SingleAxisCalibratorInfo.C:67
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0