Pulsar::PhaseVsMore Class Reference

Plots images of something as a function of pulse phase vs something. More...

#include <PhaseVsMore.h>

Inheritance diagram for Pulsar::PhaseVsMore:
Pulsar::PhaseVsPlot Pulsar::PhasePlot Pulsar::SimplePlot Pulsar::HasPhaseScale Pulsar::FramedPlot Pulsar::Plot Reference::Able Reference::HeapTracked

Public Member Functions

 PhaseVsMore ()
 Default constructor.
 
TextInterface::Parserget_interface ()
 Get the text interface to the configuration attributes.
 
std::string get_ylabel (const Archive *)
 Get the default label for the y axis.
 
unsigned get_nrow (const Archive *data)
 Derived classes must provide the number of rows.
 
const Profileget_Profile (const Archive *data, unsigned row)
 Derived classes must provide the Profile for the specified row.
 
void set_subint (const unsigned &_isubint)
 Set the sub-integration to plot (where applicable)
 
unsigned get_subint () const
 
void set_chan (const unsigned &_ichan)
 Set the frequency channel to plot.
 
unsigned get_chan () const
 
void prepare (const Archive *data)
 Prepare for plotting.
 
- Public Member Functions inherited from Pulsar::PhaseVsPlot
 PhaseVsPlot ()
 Default constructor.
 
TextInterface::Parserget_interface ()
 Get the text interface to the configuration attributes.
 
void preprocess (Archive *)
 Remove the baseline from each sub-integration and channel independently.
 
void draw (const Archive *)
 Draw in the current viewport. More...
 
PlotScaleget_z_scale ()
 Provide access to the z-scale.
 
pgplot::ColourMapget_colour_map ()
 Provide access to the colour map.
 
void set_style (const std::string &)
 Set the style.
 
std::string get_style () const
 Get the style.
 
void set_line_colour (int new_colour)
 Set the line colour.
 
int get_line_colour (void)
 Get the line colour.
 
void set_crop (float s_crop_value)
 Set the crop value.
 
float get_crop () const
 Get the crop value.
 
void set_rows (const std::pair< unsigned, unsigned > &rows)
 Set the first and last row to plot.
 
std::pair< unsigned, unsigned > get_rows () const
 Get the first and last row to plot.
 
- Public Member Functions inherited from Pulsar::PhasePlot
 PhasePlot ()
 Default constructor.
 
std::string get_xlabel (const Archive *)
 Get the default label for the x axis.
 
void set_yrange (float min, float max)
 Set the y-range.
 
PhaseScaleget_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 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

unsigned isubint
 
unsigned ichan
 
Reference::To< const Profileprofile
 
- Protected Attributes inherited from Pulsar::PhaseVsPlot
PlotScale z_scale
 
pgplot::ColourMap colour_map
 
std::string style
 The style in which the data will be plotted.
 
int line_colour
 The colour to draw the lines.
 
float crop_value
 The percentage of max to crop at.
 
- 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 images of something as a function of pulse phase vs something.


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

Generated using doxygen 1.8.17