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/SingleAxisCalibrator.h"
15 
16 namespace Pulsar {
17 
19  class BackendFeedInfo : public SingleAxisCalibrator::Info {
20 
21  public:
22 
24  BackendFeedInfo (const PolnCalibrator* calibrator);
25 
27  unsigned get_nclass () const;
28 
30  std::string get_name (unsigned iclass) const;
31 
33  virtual std::string get_name_feed (unsigned iclass) const = 0;
34 
36  unsigned get_nparam (unsigned iclass) const;
37 
39  Estimate<float> get_param (unsigned ichan, unsigned iclass,
40  unsigned iparam) const;
41 
43  virtual Estimate<float> get_param_feed (unsigned ichan, unsigned iclass,
44  unsigned iparam) const = 0;
45 
46  int get_colour_index (unsigned iclass, unsigned iparam) const;
47 
48  };
49 
50 }
51 
52 #endif
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition: SingleAxisCalibrator.C:110
virtual std::string get_name_feed(unsigned iclass) const =0
Return the name of the specified class.
BackendFeedInfo(const PolnCalibrator *calibrator)
Constructor.
Definition: BackendFeedInfo.C:13
unsigned get_nclass() const
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 parameter.
std::string get_name(unsigned iclass) const
Return the name of the specified class.
Definition: SingleAxisCalibrator.C:95
Polarimetric calibrators.
Definition: PolnCalibrator.h:41
std::string get_name(unsigned iclass) const
Return the name of the specified class.
Definition: BackendFeedInfo.C:26
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition: SingleAxisCalibrator.C:118
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition: BackendFeedInfo.C:37
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Represents the system as a Calibration::SingleAxis.
Definition: SingleAxisCalibrator.h:26
int get_colour_index(unsigned iclass, unsigned iparam) const
Return the colour index.
Definition: BackendFeedInfo.C:67
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition: BackendFeedInfo.C:52
unsigned get_nclass() const
Return the number of parameter classes.
Definition: SingleAxisCalibrator.C:89

Generated using doxygen 1.8.17