14 #include "Pulsar/PlotFactory.h"
15 #include "Pulsar/Plot.h"
17 #include "Pulsar/Archive.h"
18 #include "Pulsar/Interpreter.h"
20 #include "Pulsar/GaussianBaseline.h"
21 #include "Pulsar/PhaseWeight.h"
22 #include "Pulsar/Profile.h"
24 #include <Pulsar/Integration.h>
25 #include <Pulsar/IntegrationOrder.h>
26 #include <Pulsar/PeriastronOrder.h>
27 #include <Pulsar/BinaryPhaseOrder.h>
28 #include <Pulsar/BinLngPeriOrder.h>
29 #include <Pulsar/BinLngAscOrder.h>
31 #include <Pulsar/StokesPlot.h>
32 #include <Pulsar/StokesCylindrical.h>
34 #include "TextInterface.h"
40 #include "ColourMap.h"
64 int run( int argc, char *argv[] );
73 vector< Reference::To<Plot> > plots;
76 vector< FilePlots > plots;
78 template< class PC > void SetPlotOptions( string cmd )
80 vector< FilePlots >::iterator fit;
81 for( fit = plots.begin(); fit != plots.end(); fit ++ )
83 vector< Reference::To<Plot> >::iterator pit;
84 for( pit = (*fit).plots.begin(); pit != (*fit).plots.end(); pit ++ )
89 try { sp->configure( cmd ); } catch( Error e ) {}
97 void PrintUsage( void );
99 void SetStokesPlotToQU( void );
100 void SetPhaseZoom( double min_phase, double max_phase );
101 void SetFreqZoom( double min_freq, double max_freq );
102 void PavSpecificOptions( void );
104 void CreatePlotsList( vector< string > filenames, vector< string > plot_ids );
105 void SetCmdLineOptions( vector< string > options );
106 bool CheckColour( void );
107 float PADegreesToTurns( const int deg );
124 double reference_position_angle;
125 double position_angle_height;
142 bool freq_under_name;
144 float user_character_height;
146 float pa_min, pa_max;
150 bool remove_baseline;
void fit(const Pulsar::Parameters *model, std::vector< toa > &data, Pulsar::Parameters *postfit=NULL, bool track=false, Tempo::toa::State min_state=Tempo::toa::Normal)
Definition: PeriastronOrder.h:28
Definition: BinLngPeriOrder.h:28
Plots images of something as a function of pulse phase vs something. Definition: PhaseVsTime.h:26
Plots multiple viewports. Definition: MultiPlot.h:27
void set_Profile(const Profile *) Set the profile from which the rise and fall will be computed. Definition: PeakConsecutive.C:44
Definition: BinaryPhaseOrder.h:28
Plots a single pulse profile. Definition: StokesSpherical.h:27
Instrumental passband (or bandpass) Definition: Passband.h:25
static void agent_report() Report on the status of the plugins. Definition: Archive.C:120
Any quantity recorded as a function of pulse phase. Definition: Profile.h:45
The primary interface to pulsar observational data. Definition: Archive.h:45
Plots a single pulse profile. Definition: StokesCylindrical.h:28
static void set_verbosity(unsigned level) Set the verbosity level (0 to 3) Definition: Archive_verbose.C:19
void apply() Apply the current attributes. Definition: ColourMap.C:47
Plots multiple viewports with pulse phase along the shared x-axis. Definition: MultiPhase.h:25
Plot of offpulse bandpass and channel weights. Definition: BandpassChannelWeightPlot.h:21
Plots a single pulse profile. Definition: ProfilePlot.h:26
Plots flux profiles. Definition: FluxPlot.h:30
Array of Profiles integrated over the same time interval. Definition: Integration.h:37
Finds pulse defined by number of consecutive points above threshold. Definition: PeakConsecutive.h:31
void set_name(Name name) Set the colour map name. Definition: ColourMap.C:42
Plots the position angle of the linearly polarized radiation. Definition: PosAngPlot.h:24
static bool verbose Verbosity flag. Definition: Plot.h:33
Plots a single pulse profile. Definition: StokesCylindricalPlus.h:25
Plot pulsar signal-to-noise ratio as a func of time and freq. Definition: DynamicSNSpectrumPlot.h:22
Simple plots with pulse phase along the x-axis. Definition: PhasePlot.h:27
Convenience interface to a bunch of regularly used colour maps. Definition: ColourMap.h:26
Plots images of something as a function of pulse phase vs something. Definition: PhaseVsPlot.h:27
virtual void organise(Archive *, unsigned)=0 Re-order the Integrations into the desired state.
Plot * construct(std::string name) Return a new instance of the named plot. Definition: PlotFactory.C:169
Plots images of something as a function of pulse phase vs something. Definition: PhaseVsFrequency.h:26
void set(Archive *data) set the current Archive Definition: Interpreter.C:441
Estimates the on-pulse region between a rise and a fall. Definition: RiseFall.h:24
Provides a text interface to create new plots. Definition: PlotFactory.h:27
Name Available colour map names. Definition: ColourMap.h:35
Base class of all plotters. Definition: Plot.h:28
void get_indeces(int &rise, int &fall) const Get the pulse phase bin indeces of the rise and fall. Definition: PeakConsecutive.C:272
Alternative ways of ordering Integration instances. Definition: IntegrationOrder.h:29
Pulsar data processing command language interpreter. Definition: Interpreter.h:57
Definition: BinLngAscOrder.h:28
Generated using doxygen 1.8.17
|