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 
16 namespace Pulsar {
17 
18  class CalibratorStokes;
19 
21  class SolverInfo : public Calibrator::Info
22  {
23 
24  public:
25 
27  SolverInfo (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_name (unsigned iclass) const;
40 
42  unsigned get_nparam (unsigned iclass) const;
43 
45  Estimate<float> get_param (unsigned ichan, unsigned iclass,
46  unsigned iparam) const;
47 
48  protected:
49 
52 
53  };
54 
55 }
56 
57 #endif
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition: SolverInfo.C:42
unsigned get_nclass() const
Return the number of parameter classes.
Definition: SolverInfo.C:29
std::string get_title() const
Return the title.
Definition: SolverInfo.C:17
SolverInfo(const PolnCalibrator *calibrator)
Constructor.
Definition: SolverInfo.C:12
bool get_solved() const
unsigned get_nchan() const
Return the number of frequency channels.
Definition: SolverInfo.C:23
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition: SolverInfo.C:49
Reference::To< const PolnCalibrator > poln_calibrator
The CalibratorStokes to be plotted.
Definition: SolverInfo.h:56
Polarimetric calibrators.
Definition: PolnCalibrator.h:41
std::string get_name(unsigned iclass) const
Return the name of the specified class.
Definition: SolverInfo.C:35
float get_chisq() const
Defines the PSRCHIVE library.
Definition: CalSource.h:17
unsigned get_nfree() const

Generated using doxygen 1.8.17