FluxCalManagerInfo.h
1 //-*-C++-*-
2 
3 /***************************************************************************
4  *
5  * Copyright (C) 2012 by Willem van Straten
6  * Licensed under the Academic Free License version 2.1
7  *
8  ***************************************************************************/
9 
10 // psrchive/More/Polarimetry/Pulsar/FluxCalManagerInfo.h
11 
12 #ifndef __Pulsar_FluxCalManagerInfo_H
13 #define __Pulsar_FluxCalManagerInfo_H
14 
15 #include "Pulsar/ReceptionCalibrator.h"
16 
17 namespace Pulsar {
18 
20  class FluxCalManagerInfo : public Calibrator::Info {
21 
22  public:
23 
26 
28  std::string get_title () const;
29 
31  unsigned get_nchan () const;
32 
34  unsigned get_nclass () const;
35 
37  std::string get_name (unsigned iclass) const;
38 
40  unsigned get_nparam (unsigned iclass) const;
41 
43  Estimate<float> get_param (unsigned ichan, unsigned iclass,
44  unsigned iparam) const;
45 
47  int get_colour_index (unsigned iclass, unsigned iparam) const;
48 
49  protected:
50 
53 
55  unsigned nclass;
56 
58  unsigned nclass_on;
59  };
60 
61 }
62 
63 #endif
const SourceEstimate * get_source_on(unsigned istate) const
Return the Source estimate for the ith state.
Definition: FluxCalManager.C:306
unsigned get_nchan() const
Return the number of frequency channels.
Definition: FluxCalManagerInfo.C:58
unsigned nclass
The number of different classes of data.
Definition: FluxCalManagerInfo.h:65
FluxCalManagerInfo(const ReceptionCalibrator *calibrator)
Constructor.
Definition: FluxCalManagerInfo.C:18
std::string get_name(unsigned iclass) const
Return the name of the specified class.
Definition: FluxCalManagerInfo.C:75
unsigned get_nclass() const
Return the number of parameter classes.
Definition: FluxCalManagerInfo.C:69
unsigned get_nstate_on() const
Get the number of independent FluxCalOn source states.
Definition: FluxCalManager.C:297
Estimate< float > get_param(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition: FluxCalManagerInfo.C:113
Implements Measurement Equation Modeling (van Straten 2004)
Definition: ReceptionCalibrator.h:42
unsigned get_nparam(unsigned iclass) const
Return the number of parameters in the specified class.
Definition: FluxCalManagerInfo.C:103
unsigned nclass_on
The number of FluxCalOn classes.
Definition: FluxCalManagerInfo.h:68
unsigned get_nstate_off() const
Get the number of independent FluxCalOff source states.
Definition: FluxCalManager.C:320
std::string get_title() const
Return the title.
Definition: FluxCalManagerInfo.C:63
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Reference::To< const ReceptionCalibrator > calibrator
The ReceptionCalibrator with FluxCalManager data to be plotted.
Definition: FluxCalManagerInfo.h:62
const SourceEstimate * get_source_off(unsigned istate) const
Return the Source estimate for the ith state.
Definition: FluxCalManager.C:313
int get_colour_index(unsigned iclass, unsigned iparam) const
Return the colour index of the specified parameter.
Definition: FluxCalManagerInfo.C:144
bool has_fluxcal() const
Return true if any flux calibrator observations are available.
Definition: ReceptionCalibrator.C:569
Manages multiple flux calibrator observations.
Definition: FluxCalManager.h:57
Reference::To< MEAL::Coherency > source
Model of Stokes parameters.
Definition: SourceEstimate.h:49

Generated using doxygen 1.8.17