SolverInfo.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2008 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Polarimetry/Pulsar/SolverInfo.h
10
11#ifndef __Pulsar_SolverInfo_H
12#define __Pulsar_SolverInfo_H
13
14#include "Pulsar/PolnCalibrator.h"
15
16namespace Pulsar {
17
18 class CalibratorStokes;
19
22 {
23
24 public:
25
27 SolverInfo (const PolnCalibrator* calibrator);
28
30 std::string get_title () const override;
31
33 unsigned get_nchan () const override;
34
36 unsigned get_nclass () const override;
37
39 std::string get_label (unsigned iclass) const override;
40
42 unsigned get_nparam (unsigned iclass) const override;
43
45 Estimate<float> get_param (unsigned ichan, unsigned iclass, unsigned iparam) const override;
46
47 protected:
48
51
52 };
53
54}
55
56#endif
Stores the Stokes parameters of the reference source.
Definition CalibratorStokes.h:23
Definition Calibrator.h:151
Polarimetric calibrators.
Definition PolnCalibrator.h:37
unsigned get_nchan() const override
Return the number of frequency channels.
Definition SolverInfo.C:22
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const override
Return the estimate of the specified parameter.
Definition SolverInfo.C:43
unsigned get_nparam(unsigned iclass) const override
Return the number of parameters in the specified class.
Definition SolverInfo.C:37
unsigned get_nclass() const override
Return the number of parameter classes.
Definition SolverInfo.C:27
SolverInfo(const PolnCalibrator *calibrator)
Constructor.
Definition SolverInfo.C:12
std::string get_title() const override
Return the title.
Definition SolverInfo.C:17
Reference::To< const PolnCalibrator > poln_calibrator
The PolnCalibrator with solver parameters to be plotted.
Definition SolverInfo.h:50
std::string get_label(unsigned iclass) const override
Return the name of the specified class.
Definition SolverInfo.C:32
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0