PolnCalibratorInfo.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2003 - 2022 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Polarimetry/Pulsar/PolnCalibratorInfo.h
10
11#ifndef __Pulsar_PolnCalibratorInfo_H
12#define __Pulsar_PolnCalibratorInfo_H
13
14#include "Pulsar/PolnCalibrator.h"
15
16namespace Pulsar {
17
18 class PolnCalibrator::Info : public Calibrator::Info
19 {
20
21 public:
22
24 static PolnCalibrator::Info* create (const PolnCalibrator* calibrator);
25
27 Info (const PolnCalibrator* calibrator);
28
30 std::string get_title () const;
31
33 unsigned get_nchan () const;
34
36 unsigned get_nclass () const;
37
39 std::string get_label (unsigned iclass) const;
40
42 unsigned get_nparam (unsigned iclass) const;
43
45 Estimate<float> get_param (unsigned ichan, unsigned iclass, unsigned iparam) const;
46
48 int get_colour_index (unsigned iclass, unsigned iparam) const;
49
51 int get_graph_marker (unsigned iclass, unsigned iparam) const;
52
53 protected:
54
56 Reference::To<const PolnCalibrator> calibrator;
57
59 unsigned nparam;
60
61 };
62
63}
64
65#endif
66
Definition Calibrator.h:151
virtual std::string get_title() const =0
Return the title to print above the plot.
virtual unsigned get_nclass() const =0
Return the number of parameter classes.
virtual unsigned get_nchan() const =0
Return the number of frequency channels.
PolnCalibrator(const Archive *archive=0)
Construct with optional processed calibrator Archive.
Definition PolnCalibrator.C:76
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0