Pulsar::SourceInfo Class Reference

Communicates Calibrator Stokes parameters. More...

#include <SourceInfo.h>

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

Public Member Functions

 SourceInfo (const std::vector< Calibration::SourceEstimate > &source)
 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_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.
 
void set_together (bool)
 Plot all Stokes parameters in one panel.
 
void set_label (const std::string &)
 Set the label printed on the y-axis.
 
void set_title (const std::string &)
 Set the title.
 
- 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

const std::vector< Calibration::SourceEstimate > & source
 The SourceEstimate to be plotted.
 
bool together
 Plot all Stokes parameters in one panel.
 
std::string label
 The label printed on the y-axis.
 
std::string title
 The title.
 

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 Calibrator Stokes parameters.


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

Generated using doxygen 1.8.17