Pulsar::PosAngPlot Class Reference

Plots the position angle of the linearly polarized radiation. More...

#include <PosAngPlot.h>

Inheritance diagram for Pulsar::PosAngPlot:
Pulsar::AnglePlot Pulsar::PhasePlot Pulsar::SimplePlot Pulsar::HasPhaseScale Pulsar::FramedPlot Pulsar::Plot Reference::Able Reference::HeapTracked

Public Member Functions

 PosAngPlot ()
 Default constructor.
std::string get_ylabel (const Archive *data)
 Return the default label for the y axis.
void get_angles (const Archive *)
 Compute position angles and store in AnglePlot::angles.
Public Member Functions inherited from Pulsar::AnglePlot
 AnglePlot ()
 Default constructor.
TextInterface::Parserget_interface ()
 Get the text interface to the configuration attributes.
void prepare (const Archive *)
 return the minimum and maximum value in degrees
void draw (const Archive *)
 draw the angle as a function of pulse phase
std::string get_flux_label (const Archive *data)
 Return the label for the y-axis.
void set_subint (const Index &_isubint)
 Set the sub-integration to plot (where applicable)
Index get_subint () const
void set_chan (const Index &_ichan)
 Set the frequency channel to plot (where applicable)
Index get_chan () const
void set_marker (Marker m)
 the mark to be used
Marker get_marker () const
void set_threshold (float t)
 will draw only those points with linear > threshold * sigma
float get_threshold () const
void set_span (float t)
 span of value in degrees
float get_span () const
const std::vector< Estimate< double > > & get_angles () const
Public Member Functions inherited from Pulsar::PhasePlot
 PhasePlot ()
 Default constructor.
TextInterface::Parserget_interface ()
 Get the text interface to the configuration attributes.
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 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

Additional Inherited Members

Public Types inherited from Pulsar::AnglePlot
enum  Marker { ErrorTick =0x01 , ErrorBar =0x02 , Dot =0x04 }
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 ()
Public Attributes inherited from Pulsar::AnglePlot
Functor< float(float) > model
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
Protected Attributes inherited from Pulsar::AnglePlot
Marker marker
 Marker used to plot each point.
float threshold
 Noise threshold.
float span
 Span of values in degrees.
std::vector< Estimate< double > > angles
 The angles.
Index ichan
Index isubint
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.

Detailed Description

Plots the position angle of the linearly polarized radiation.

Member Function Documentation

◆ get_angles()

void Pulsar::PosAngPlot::get_angles ( const Archive * data)
virtual

Compute position angles and store in AnglePlot::angles.

Implements Pulsar::AnglePlot.

References Pulsar::AnglePlot::angles, Pulsar::get_Stokes(), and Pulsar::AnglePlot::threshold.

◆ get_ylabel()

std::string Pulsar::PosAngPlot::get_ylabel ( const Archive * data)
virtual

Return the default label for the y axis.

Return the label for the y-axis.

Reimplemented from Pulsar::PhasePlot.


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

Generated using doxygen 1.14.0