Communicates time variation parameters to plotting routines. More...

#include <VariationInfo.h>

Inheritance diagram for Pulsar::VariationInfo:
Pulsar::Calibrator::Info Reference::Able Reference::HeapTracked Pulsar::PolynomialInfo Pulsar::StepsInfo

Public Types

enum  Which { Gain , Boost , Rotation }
 Things that vary in a SystemCalibrator. More...

Public Member Functions

 VariationInfo (const SystemCalibrator *calibrator, Which which)
 Construct with which function to plot.
unsigned get_nchan () const
 Return the number of frequency channels.
std::string get_label (unsigned iclass) const
 Return the name of the specified class.
const MEAL::Scalarget_Scalar (unsigned ichan) const
 Return the Scalar variation function for the specified channel.
Public Member Functions inherited from Pulsar::Calibrator::Info
virtual ~Info ()
 Destructor.
virtual std::string get_title () const =0
 Return the title to print above the plot.
virtual unsigned get_nclass () const =0
 Return the number of parameter classes.
virtual unsigned get_nparam (unsigned iclass) const =0
 Return the number of parameters in the specified class.
virtual Estimate< float > get_param (unsigned ichan, unsigned iclass, unsigned iparam) const =0
 Return the estimate of the specified parameter.
virtual std::string get_param_name (unsigned iparam) const
 Return the PGPLOT-encoded name of the specified parameter.
virtual int get_colour_index (unsigned iclass, unsigned iparam) const
 Return the colour index.
virtual int get_graph_marker (unsigned iclass, unsigned iparam) const
 Return the graph marker.
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

Reference::To< const SystemCalibratorcalibrator
 The SystemCalibrator containing the step functions.
Which which
 Which function to plot.

Additional Inherited Members

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 ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Communicates time variation parameters to plotting routines.

Member Enumeration Documentation

◆ Which

Things that vary in a SystemCalibrator.

Enumerator
Gain 

Absolute gain.

Boost 

Differential gain.

Rotation 

Differential phase.

Constructor & Destructor Documentation

◆ VariationInfo()

Pulsar::VariationInfo::VariationInfo ( const SystemCalibrator * calibrator,
Which which )

Construct with which function to plot.

Constructor.

References calibrator, Pulsar::Calibrator::verbose, and which.

Referenced by Pulsar::PolynomialInfo::PolynomialInfo(), and Pulsar::StepsInfo::StepsInfo().

Member Function Documentation

◆ get_label()

string Pulsar::VariationInfo::get_label ( unsigned iclass) const
virtual

Return the name of the specified class.

Implements Pulsar::Calibrator::Info.

References Boost, Gain, Rotation, and which.

Referenced by Pulsar::PolynomialInfo::get_label(), and Pulsar::StepsInfo::get_label().

◆ get_nchan()

unsigned Pulsar::VariationInfo::get_nchan ( ) const
virtual

Return the number of frequency channels.

Implements Pulsar::Calibrator::Info.

References calibrator.


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

Generated using doxygen 1.14.0