PolarCalibratorInfo.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/PolarCalibratorInfo.h
10
11#ifndef __PolarCalibratorInfo_H
12#define __PolarCalibratorInfo_H
13
14#include "Pulsar/PolarCalibrator.h"
15#include "Pulsar/PolnCalibratorInfo.h"
16
17namespace Pulsar {
18
20 class PolarCalibrator::Info : public PolnCalibrator::Info
21 {
22 public:
23
25 Info (const PolnCalibrator* calibrator);
26
28 std::string get_title () const;
29
31 unsigned get_nclass () const;
32
34 std::string get_label (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
43 };
44
45}
46
47#endif
Communicates PolarCalibrator parameters to plotting routines.
Definition PolarCalibratorInfo.h:21
unsigned get_nclass() const
Return the number of parameter classes.
Definition PolarCalibratorInfo.C:26
std::string get_title() const
Return the title.
Definition PolarCalibratorInfo.C:20
std::string get_label(unsigned iclass) const
Return the name of the specified class.
Definition PolarCalibratorInfo.C:33
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition PolarCalibratorInfo.C:78
Info(const PolnCalibrator *calibrator)
Constructor.
Definition PolarCalibratorInfo.C:15
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition PolarCalibratorInfo.C:48
Polarimetric calibrators.
Definition PolnCalibrator.h:37
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0