Pulsar::PolynomialInfo Class Reference

Communicates Polynomial function parameters to plotting routines. More...

#include <PolynomialInfo.h>

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

Public Member Functions

 PolynomialInfo (const SystemCalibrator *calibrator, Which which)
 Construct with code of which function to plot. More...
 
std::string get_title () const
 Return the title.
 
unsigned get_nclass () const
 Return the number of parameter classes.
 
std::string get_name (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.
 
const MEAL::Polynomialget_Polynomial (unsigned ichan) const
 Return the Polynomial function for the specified channel.
 
- Public Member Functions inherited from Pulsar::VariationInfo
 VariationInfo (const SystemCalibrator *calibrator, Which which)
 Construct with which function to plot. More...
 
unsigned get_nchan () const
 Return the number of frequency channels.
 
std::string get_name (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 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

unsigned ncoef
 number of polynomial coefficients
 
- Protected Attributes inherited from Pulsar::VariationInfo
Reference::To< const SystemCalibratorcalibrator
 The SystemCalibrator containing the step functions.
 
Which which
 Which function to plot.
 

Additional Inherited Members

- Public Types inherited from Pulsar::VariationInfo
enum  Which { Gain, Boost, Rotation }
 Things that vary in a SystemCalibrator. More...
 
- 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 Polynomial function parameters to plotting routines.

Constructor & Destructor Documentation

◆ PolynomialInfo()

Pulsar::PolynomialInfo::PolynomialInfo ( const SystemCalibrator calibrator,
Which  which 
)

Construct with code of which function to plot.

Constructor.

References Pulsar::VariationInfo::calibrator, MEAL::Function::get_nparam(), get_Polynomial(), ncoef, and Pulsar::Calibrator::verbose.


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

Generated using doxygen 1.8.17