Pulsar::DynamicStatSpectrumPlot Class Reference

Plots off-pulse mean or variance as a func of time and freq. More...

#include <DynamicStatSpectrumPlot.h>

Inheritance diagram for Pulsar::DynamicStatSpectrumPlot:
Pulsar::DynamicSpectrumPlot Pulsar::SimplePlot Pulsar::FramedPlot Pulsar::Plot Reference::Able Reference::HeapTracked

Public Member Functions

 DynamicStatSpectrumPlot ()
 Default constructor.
 ~DynamicStatSpectrumPlot ()
 Default constructor.
TextInterface::Parserget_interface ()
 Get the text interface to the configuration attributes.
void get_plot_array (const Archive *data, float *array)
 Derived classes must fill in the nsubint by nchan data array.
virtual void preprocess (Archive *)
 Disable preprocessing.
void set_statistic (ArchiveStatistic *)
 Set the statistic.
ArchiveStatisticget_statistic () const
 Get the statistic.
Public Member Functions inherited from Pulsar::DynamicSpectrumPlot
 DynamicSpectrumPlot ()
 Default constructor.
void draw (const Archive *)
 Draw in the current viewport.
pgplot::ColourMapget_colour_map ()
 Provide access to the colour map.
std::pair< unsigned, unsigned > get_subint_range (const Archive *data)
std::pair< unsigned, unsigned > get_chan_range (const Archive *data)
std::pair< int, int > get_srange () const
 srange is the subint range
void set_srange (const std::pair< int, int > &range)
void set_pol (const Index &_ipol)
 Set the polarization to plot.
Index get_pol () const
void set_method (int s_method)
 Set a method.
int get_method () const
TimeScaleget_x_scale ()
 Return pointer to x scale.
FrequencyScaleget_y_scale ()
 Return pointer to y scale.
Public Member Functions inherited from Pulsar::SimplePlot
virtual void plot (const Archive *)
 Plot in the current viewport.
virtual std::string get_xlabel (const Archive *)
 Get the default label for the x axis.
virtual std::string get_ylabel (const Archive *)
 Get the default label for the y axis.
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.
virtual void prepare (const Archive *)
 Derived classes must prepare to draw.
Public Member Functions inherited from Pulsar::Plot
 Plot ()
 Default constructor.
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

Protected Attributes

Reference::To< ArchiveStatisticstatistic
Protected Attributes inherited from Pulsar::DynamicSpectrumPlot
pgplot::ColourMap colour_map
Index ipol
int method
bool zero_check
Reference::To< TimeScalex_scale
Reference::To< FrequencyScaley_scale
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 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 ()
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 off-pulse mean or variance as a func of time and freq.

Member Function Documentation

◆ get_interface()

TextInterface::Parser * Pulsar::DynamicStatSpectrumPlot::get_interface ( )
virtual

Get the text interface to the configuration attributes.

Reimplemented from Pulsar::DynamicSpectrumPlot.

◆ get_plot_array()

void Pulsar::DynamicStatSpectrumPlot::get_plot_array ( const Archive * data,
float * array )
virtual

Derived classes must fill in the nsubint by nchan data array.

Implements Pulsar::DynamicSpectrumPlot.

References Pulsar::IntegrationManager::get_Integration().

◆ get_statistic()

Pulsar::ArchiveStatistic * DynamicStatSpectrumPlot::get_statistic ( ) const

Get the statistic.

Get the profile statistic.

◆ preprocess()

virtual void Pulsar::DynamicStatSpectrumPlot::preprocess ( Archive * )
inlinevirtual

Disable preprocessing.

Reimplemented from Pulsar::Plot.

◆ set_statistic()

void DynamicStatSpectrumPlot::set_statistic ( ArchiveStatistic * stat)

Set the statistic.

Set the profile statistic.


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

Generated using doxygen 1.14.0