Pulsar::CalibratorStokesInfo Class Reference

Communicates CalibratorStokes parameters to plotting routines. More...

#include <CalibratorStokesInfo.h>

Inheritance diagram for Pulsar::CalibratorStokesInfo:
Pulsar::Calibrator::Info Reference::Able Reference::HeapTracked

Public Member Functions

 CalibratorStokesInfo (const CalibratorStokes *calibrator)
 Constructor.
std::string get_title () const
 Return the title.
unsigned get_nchan () const
 Return the number of frequency channels.
unsigned get_nclass () const
 Return the number of parameter classes.
std::string get_label (unsigned iclass) const
 Return the name of the specified class.
unsigned get_nparam (unsigned iclass) const
 Return the number of parameters in the specified class.
Estimate< float > get_param (unsigned ichan, unsigned iclass, unsigned iparam) const
 Return the estimate of the specified parameter.
void set_together (bool flag)
 Group all three calibrator Stokes parameters in one class.
void set_degree (bool flag)
 Add an additional class for the calibrator degree of polarization.
Public Member Functions inherited from Pulsar::Calibrator::Info
virtual ~Info ()
 Destructor.
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 CalibratorStokescalibrator_stokes
 The CalibratorStokes to be plotted.
bool together
 Plot all of the Stokes parameters in one panel.
bool degree
 Plot the degree of polarization in a fourth panel.

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 CalibratorStokes parameters to plotting routines.

Member Function Documentation

◆ get_label()

std::string Pulsar::CalibratorStokesInfo::get_label ( unsigned iclass) const
virtual

Return the name of the specified class.

Implements Pulsar::Calibrator::Info.

References degree, and together.

◆ get_nchan()

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

Return the number of frequency channels.

Implements Pulsar::Calibrator::Info.

References calibrator_stokes.

◆ get_nclass()

unsigned Pulsar::CalibratorStokesInfo::get_nclass ( ) const
virtual

Return the number of parameter classes.

Implements Pulsar::Calibrator::Info.

References degree, and together.

◆ get_nparam()

unsigned Pulsar::CalibratorStokesInfo::get_nparam ( unsigned iclass) const
virtual

Return the number of parameters in the specified class.

Implements Pulsar::Calibrator::Info.

References together.

◆ get_param()

Estimate< float > Pulsar::CalibratorStokesInfo::get_param ( unsigned ichan,
unsigned iclass,
unsigned iparam ) const
virtual

Return the estimate of the specified parameter.

Implements Pulsar::Calibrator::Info.

References calibrator_stokes, degree, and together.

◆ get_title()

std::string Pulsar::CalibratorStokesInfo::get_title ( ) const
virtual

Return the title.

Implements Pulsar::Calibrator::Info.


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

Generated using doxygen 1.14.0