SystemCalibratorPlotter.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/SystemCalibratorPlotter.h
10
11#ifndef __SystemCalibratorPlotter_H
12#define __SystemCalibratorPlotter_H
13
14#include "Pulsar/CalibratorPlotter.h"
15#include "Pulsar/VariationInfo.h"
16#include "MEAL/Scalar.h"
17
18#include "Estimate.h"
19
20class EstimatePlotter;
21
22namespace Pulsar
23{
24 class SystemCalibrator;
25
27 class SystemCalibratorPlotter : public CalibratorPlotter
28 {
29
30 public:
31
32 SystemCalibratorPlotter (SystemCalibrator* calibrator);
33
34 ~SystemCalibratorPlotter ();
35
37 void plot_cal ();
38
40 void plot_cal_constraints (unsigned ichan);
41
43 void plot_psr_constraints (unsigned ichan, unsigned istate);
44
47
49 void set_plot_residual (bool val) { plot_residual = val; }
50
53
55 const SystemCalibrator* get_calibrator () const;
56
57 protected:
58
60 void plot_constraints (unsigned ichan, unsigned istate);
61
64
67
70
73 };
74
75}
76
77#endif
CalibratorPlotter()
Default constructor.
Definition CalibratorPlotter.C:22
Reference::To< SystemCalibrator > calibrator
Reference stored on init.
Definition SystemCalibratorPlotter.h:66
void plot_time_variations()
Plot all time variation functions.
Definition SystemCalibratorPlotter.C:154
bool plot_residual
Plotting methods will plot the residual.
Definition SystemCalibratorPlotter.h:69
const SystemCalibrator * get_calibrator() const
Return the calibrator to be plotted.
Definition SystemCalibratorPlotter.C:213
void plot_time_variation(VariationInfo::Which, const MEAL::Scalar *)
Plot the given time variation function.
Definition SystemCalibratorPlotter.C:175
void plot_cal()
Plot the calibrator as a function of frequency.
Definition SystemCalibratorPlotter.C:132
void plot_phase_constraints()
Plot vertical lines over the phases used as pulsar constraints.
void set_plot_residual(bool val)
Plot the residual in plot_psr_constraints.
Definition SystemCalibratorPlotter.h:49
void plot_psr_constraints(unsigned ichan, unsigned istate)
Plot the observed Stokes parameters versus parallactic angle.
Definition SystemCalibratorPlotter.C:46
bool output_state
Plotting methods will output data in text files, pcm_state*.dat.
Definition SystemCalibratorPlotter.h:72
void plot_cal_constraints(unsigned ichan)
Plot the Stokes parameters versus parallactic angle.
Definition SystemCalibratorPlotter.C:36
void plot_constraints(unsigned ichan, unsigned istate)
Plot the observed Stokes parameters versus parallactic angle.
Definition SystemCalibratorPlotter.C:83
PolnCalibrator with estimated calibrator Stokes parameters.
Definition SystemCalibrator.h:50
Which
Things that vary in a SystemCalibrator.
Definition VariationInfo.h:25
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0