BackendFeedInfo.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2003 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Polarimetry/Pulsar/BackendFeedInfo.h
10
11#ifndef __Pulsar_BackendFeedInfo_H
12#define __Pulsar_BackendFeedInfo_H
13
14#include "Pulsar/SingleAxisCalibratorInfo.h"
15
16namespace Pulsar {
17
20
21 public:
22
24 BackendFeedInfo (const PolnCalibrator* calibrator);
25
27 unsigned get_nclass () const override;
28
30 std::string get_label (unsigned iclass) const override;
31
33 unsigned get_nparam (unsigned iclass) const override;
34
36 std::string get_param_name (unsigned iparam) const override;
37
39 Estimate<float> get_param (unsigned ichan, unsigned iclass, unsigned iparam) const override;
40
42 virtual std::string get_label_feed (unsigned iclass) const = 0;
43
45 virtual std::string get_param_name_feed (unsigned iparam) const = 0;
46
48 virtual Estimate<float> get_param_feed (unsigned ichan, unsigned iclass, unsigned iparam) const = 0;
49
50 int get_colour_index (unsigned iclass, unsigned iparam) const;
51
52 };
53
54}
55
56#endif
int get_colour_index(unsigned iclass, unsigned iparam) const
Return the colour index.
Definition BackendFeedInfo.C:76
unsigned get_nclass() const override
Return the number of parameter classes.
Definition BackendFeedInfo.C:19
virtual Estimate< float > get_param_feed(unsigned ichan, unsigned iclass, unsigned iparam) const =0
Return the estimate of the specified parameterof the feed component.
BackendFeedInfo(const PolnCalibrator *calibrator)
Constructor.
Definition BackendFeedInfo.C:13
virtual std::string get_param_name_feed(unsigned iparam) const =0
Return the PGPLOT-encoded name of the specified parameter of the feed component.
std::string get_label(unsigned iclass) const override
Return the name of the specified class.
Definition BackendFeedInfo.C:36
std::string get_param_name(unsigned iparam) const override
Return the PGPLOT-encoded name of the specified parameter.
Definition BackendFeedInfo.C:25
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const override
Return the estimate of the specified parameter.
Definition BackendFeedInfo.C:62
virtual std::string get_label_feed(unsigned iclass) const =0
Return the PGPLOT-encoded label of the specified class of the feed component.
Polarimetric calibrators.
Definition PolnCalibrator.h:37
Communicates SingleAxisCalibrator parameters.
Definition SingleAxisCalibratorInfo.h:21
unsigned get_nparam() const
Return the number of parameters.
Definition SingleAxisCalibratorInfo.h:29
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0