Plots a single class of model parameters from Calibrator::Info. More...

#include <CalibratorParameter.h>

Inheritance diagram for Pulsar::CalibratorParameter:
Pulsar::FrequencyPlot Pulsar::SimplePlot Pulsar::FramedPlot Pulsar::Plot Reference::Able Reference::HeapTracked

Public Member Functions

 CalibratorParameter ()
 Default constructor.
 
TextInterface::Parserget_interface ()
 Return the text interface.
 
std::string get_ylabel (const Archive *)
 Get the default label for the y axis. More...
 
void set_managed (bool flag=true)
 Data are managed externally (do not prepare)
 
void prepare (const Archive *)
 Prepare to plot.
 
void prepare (const Calibrator::Info *, const Archive *)
 Prepare to plot.
 
void draw (const Archive *)
 Draw the spectra. More...
 
void set_class (unsigned i)
 Set the class index.
 
unsigned get_class () const
 Get the class index.
 
void set_outlier_threshold (float t)
 Set the outlier threshold.
 
float get_outlier_threshold () const
 Get the outlier threshold.
 
void set_subint (const Index &isub)
 Set the sub-integration Idex.
 
Index get_subint () const
 Get the sub-integration Idex.
 
- Public Member Functions inherited from Pulsar::FrequencyPlot
 FrequencyPlot ()
 Default constructor.
 
std::string get_xlabel (const Archive *)
 Get the default label for the x axis.
 
std::string get_ylabel (const Archive *)
 Get the default label for the y axis.
 
void set_yrange (float min, float max)
 Set the y-range.
 
FrequencyScaleget_scale ()
 Get the scale.
 
- Public Member Functions inherited from Pulsar::SimplePlot
virtual void plot (const Archive *)
 Plot in the current viewport.
 
void add_annotation (PlotAnnotation *a)
 Add an annotation.
 
- Public Member Functions inherited from Pulsar::FramedPlot
 FramedPlot ()
 Default constructor.
 
virtual TextInterface::Parserget_frame_interface ()
 Get the text interface to the frame attributes.
 
PlotAttributesget_attributes ()
 Get the plot attributes.
 
virtual PlotFrameget_frame ()
 Get the frame.
 
virtual const PlotFrameget_frame () const
 Get the frame.
 
virtual void set_frame (PlotFrame *)
 Set the frame.
 
- Public Member Functions inherited from Pulsar::Plot
 Plot ()
 Default constructor.
 
virtual void preprocess (Archive *)
 Process the Archive as needed before calling plot.
 
virtual void finalize ()
 Some plots may postpone plotting.
 
virtual void configure (const std::string &)
 Process a configuration command.
 
void set_constructor (Constructor *c)
 Set the constructor.
 
Constructorget_constructor ()
 Get the constructor.
 
virtual void set_preprocessor (Processor *)
 Set the pre-processor.
 
virtual Processorget_preprocessor ()
 Get the pre-processor.
 
virtual bool has_preprocessor () const
 Return true if pre-processor has been set.
 
- 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
 

Static Public Member Functions

static Calibrator::Infoget_Info (const Archive *, Index subint, float outlier_threshold)
 Return the Calibrator::Info from the Archive.
 
- 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 Attributes

EstimatePlotter plotter
 
Reference::To< const Calibrator::Infoinfo
 
unsigned iclass
 
bool managed
 
Index subint
 
float outlier_threshold
 
- Protected Attributes inherited from Pulsar::SimplePlot
std::vector< Reference::To< PlotAnnotation > > annotations
 Annotations to add to the plot.
 
- Protected Attributes inherited from Pulsar::FramedPlot
Reference::To< PlotFrameframe
 The plot frame.
 

Additional Inherited Members

- Static Public Attributes inherited from Pulsar::Plot
static bool verbose = false
 Verbosity flag.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Plots a single class of model parameters from Calibrator::Info.

Member Function Documentation

◆ draw()

void Pulsar::CalibratorParameter::draw ( const Archive data)
virtual

Draw the spectra.

Derived classes must draw in the current viewport.

Implements Pulsar::SimplePlot.

◆ get_ylabel()

std::string Pulsar::CalibratorParameter::get_ylabel ( const Archive data)
virtual

Get the default label for the y axis.

Return the label for the y-axis.

Reimplemented from Pulsar::SimplePlot.


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

Generated using doxygen 1.8.17