Pulsar::CalibratorInfo Class Reference

Plots every class of model parameters from Calibrator::Info. More...

#include <CalibratorInfo.h>

Inheritance diagram for Pulsar::CalibratorInfo:
Pulsar::MultiFrequency Pulsar::MultiPlot Pulsar::Plot Reference::Able Reference::HeapTracked

Public Member Functions

 CalibratorInfo ()
 Default constructor.
TextInterface::Parserget_interface ()
 Get the text interface to the configuration attributes.
void prepare (const Archive *)
 Ensure that frames are properly initialized.
void set_between_panels (float x)
float get_between_panels () const
void set_panels (const std::string &x)
std::string get_panels () const
void set_calibrator_stokes (bool x)
bool get_calibrator_stokes () const
void set_calibrator_stokes_degree (bool x)
bool get_calibrator_stokes_degree () const
void set_correlation (int idx)
int get_correlation () const
void set_configurable_projection (bool x)
bool get_configurable_projection () const
void set_reduced_chisq (bool x)
bool get_reduced_chisq () const
void set_intrinsic_crosspol_ratio (bool x)
bool get_intrinsic_crosspol_ratio () const
void set_constant_gain (bool x)
bool get_constant_gain () const
void set_outlier_threshold (float t)
float get_outlier_threshold () const
void set_subint (const Index &isub)
 Set the sub-integration Idex.
Index get_subint () const
 Get the sub-integration Idex.
Public Member Functions inherited from Pulsar::MultiFrequency
 MultiFrequency ()
 Default constructor.
TextInterface::Parserget_interface ()
 Get the text interface to the configuration attributes.
FrequencyScaleget_scale ()
 Get the scale.
Public Member Functions inherited from Pulsar::MultiPlot
 MultiPlot ()
 Default constructor.
TextInterface::Parserget_frame_interface ()
 Get the text interface to the frame attributes.
PlotAttributesget_attributes ()
 Get the plot attributes.
void plot (const Archive *)
 Plot in the current viewport.
void manage (Plot *)
 Auto-manage a plot.
void manage (const std::string &name, FramedPlot *)
 Manage a plot.
void unmanage (FramedPlot *)
 Stop managing a plot.
virtual void prepare (FramedPlot *)
 Derived classes may wish to prepare before each plot is used.
virtual MultiFrameget_frame ()
 Get the frame.
virtual const MultiFrameget_frame () const
 Get the frame.
Public Member Functions inherited from Pulsar::Plot
 Plot ()
 Default constructor.
virtual void preprocess (Archive *)
 Process the Archive as needed before calling plot.
virtual void finalize ()
 Some plots may postpone plotting.
virtual void configure (const std::string &)
 Process a configuration command.
void set_constructor (Constructor *c)
 Set the constructor.
Constructorget_constructor ()
 Get the constructor.
virtual void set_preprocessor (Processor *)
 Set the pre-processor.
virtual Processorget_preprocessor ()
 Get the pre-processor.
virtual bool has_preprocessor () const
 Return true if pre-processor has been set.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

std::vector< Reference::To< CalibratorParameter > > parameter
 Separate panels for each class of calibrator parameters.
float between_panels = 0.05
 spacing between plot panels
std::string panels
 panels to be plotted
bool calibrator_stokes = false
 plot the calibrator Stokes parameters
bool calibrator_stokes_degree = false
 plot the calibrator Stokes parameters w/ degree of polarization
bool configurable_projection = false
 plot the configurable projection parameters
int correlation = -1
 plot the cross-correlation between parameters
bool reduced_chisq = false
 plot the goodness-of-fit statistic
bool intrinsic_crosspol_ratio = false
 plot the intrinsic cross-polarization ratio
bool constant_gain = false
 plot constant gain flux calibrator information
float outlier_threshold = 0.0
 threshold used to detect outliers when creating SingleAxis calibrator
Index subint
Protected Attributes inherited from Pulsar::MultiPlot
MultiFrame frames
 The plot frames.
std::map< std::string, Reference::To< FramedPlot > > plots
 The plots.

Additional Inherited Members

Static Public Member Functions inherited from Pulsar::MultiPlot
static MultiPlotfactory (Plot *)
 Factory returns appropriate derived class.
Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Static Public Attributes inherited from Pulsar::Plot
static bool verbose = false
 Verbosity flag.
Protected Member Functions inherited from Pulsar::MultiPlot
void set_viewport (PlotFrame *frame, std::pair< float, float > &sub_xvp, std::pair< float, float > &sub_yvp)
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Plots every class of model parameters from Calibrator::Info.

CalibratorInfo creates and manages a CalibratorParameter instance for each class of model parameters and divides the plot viewport into sub-panels as needed.

Member Function Documentation

◆ get_interface()

TextInterface::Parser * Pulsar::CalibratorInfo::get_interface ( )
virtual

Get the text interface to the configuration attributes.

Implements Pulsar::Plot.

◆ prepare()

Member Data Documentation

◆ between_panels

float Pulsar::CalibratorInfo::between_panels = 0.05
protected

spacing between plot panels

by default, reserve 5% of the viewport height for space between panels

Referenced by prepare().


The documentation for this class was generated from the following files:

Generated using doxygen 1.14.0