Pulsar::ConfigurableProjection::Info Class Reference

Communicates ConfigurableProjection parameters to plotting routines. More...

#include <ConfigurableProjectionInfo.h>

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

Public Member Functions

 Info (const ConfigurableProjection *projection)
 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 (unsigned N)
 Group N parameters in one class.
int get_colour_index (unsigned iclass, unsigned iparam) const
 Return the colour index.
int get_graph_marker (unsigned iclass, unsigned iparam) const
 Return the graph marker.
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.
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 ConfigurableProjectionprojection
 The ConfigurableProjection to be plotted.
std::vector< unsigned > parameters
 Indeces of parameters with estimates.
std::vector< std::string > names
 Names of parameters with estimates.
unsigned together
 Number of parameters plotted in one 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 ConfigurableProjection parameters to plotting routines.

Member Function Documentation

◆ get_colour_index()

int Pulsar::ConfigurableProjection::Info::get_colour_index ( unsigned iclass,
unsigned iparam ) const
virtual

Return the colour index.

Reimplemented from Pulsar::Calibrator::Info.

References get_nparam().

◆ get_graph_marker()

int Pulsar::ConfigurableProjection::Info::get_graph_marker ( unsigned iclass,
unsigned iparam ) const
virtual

Return the graph marker.

Reimplemented from Pulsar::Calibrator::Info.

◆ get_label()

string Pulsar::ConfigurableProjection::Info::get_label ( unsigned iclass) const
virtual

Return the name of the specified class.

The name of each parameter is unknown

Implements Pulsar::Calibrator::Info.

References names.

◆ get_nchan()

unsigned Pulsar::ConfigurableProjection::Info::get_nchan ( ) const
virtual

Return the number of frequency channels.

Implements Pulsar::Calibrator::Info.

References projection.

◆ get_nclass()

unsigned Pulsar::ConfigurableProjection::Info::get_nclass ( ) const
virtual

Return the number of parameter classes.

Each parameter of the Transformation is treated as a separate class.

Implements Pulsar::Calibrator::Info.

References parameters, and together.

Referenced by Info().

◆ get_nparam()

unsigned Pulsar::ConfigurableProjection::Info::get_nparam ( unsigned iclass) const
virtual

Return the number of parameters in the specified class.

Each parameter of the Transformation is treated as a separate class.

Implements Pulsar::Calibrator::Info.

References parameters, and together.

Referenced by get_colour_index(), and get_param().

◆ get_param()

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

◆ get_title()

string Pulsar::ConfigurableProjection::Info::get_title ( ) const
virtual

Return the title.

The name of each parameter is unknown

Implements Pulsar::Calibrator::Info.


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

Generated using doxygen 1.14.0