DynamicCalSpectrumPlot.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2009 by Paul Demorest
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Pulsar_DynamicCalSpectrumPlot_h
10 #define __Pulsar_DynamicCalSpectrumPlot_h
11 
12 #include "Pulsar/DynamicSpectrumPlot.h"
13 
14 namespace Pulsar {
15 
17  class DynamicCalSpectrumPlot : public DynamicSpectrumPlot {
18 
19  public:
20 
23 
26 
29 
30  // Text interface to the PhaseVsFrequency class
31  class Interface : public TextInterface::To<DynamicCalSpectrumPlot> {
32  public:
33  Interface (DynamicCalSpectrumPlot* = 0);
34  };
35 
36  void get_plot_array(const Archive *data, float *array);
37 
38  };
39 
40 }
41 
42 #endif
float get_weight() const
get the weight of the profile
Definition: Profile.h:207
The primary interface to pulsar observational data.
Definition: Archive.h:45
void cal_levels(std::vector< std::vector< Estimate< double > > > &hi, std::vector< std::vector< Estimate< double > > > &lo) const
Returns the mean hi/lo and variance of the mean hi/lo of every profile.
Definition: Integration_cal_levels.C:16
Integration * get_Integration(unsigned subint)
Return pointer to the specified Integration.
Definition: IntegrationManager.C:41
~DynamicCalSpectrumPlot()
Default constructor.
Definition: DynamicCalSpectrumPlot.C:18
Profile * get_Profile(unsigned subint, unsigned pol, unsigned chan)
Return pointer to the specified profile.
Definition: Archive.C:270
Plots off-pulse mean or variance as a func of time and freq.
Definition: DynamicCalSpectrumPlot.h:22
TextInterface::Parser * get_interface()
Get the text interface to the configuration attributes.
Definition: DynamicCalSpectrumPlot.C:22
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void get_plot_array(const Archive *data, float *array)
Derived classes must fill in the nsubint by nchan data array.
Definition: DynamicCalSpectrumPlot.C:28
DynamicCalSpectrumPlot()
Default constructor.
Definition: DynamicCalSpectrumPlot.C:14
unsigned get_value() const
Get the value of the index.
Definition: Index.h:37

Generated using doxygen 1.8.17