DynamicStatSpectrumPlot.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2021 by Paul Demorest
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9#ifndef __Pulsar_DynamicStatSpectrumPlot_h
10#define __Pulsar_DynamicStatSpectrumPlot_h
11
12#include "Pulsar/DynamicSpectrumPlot.h"
13#include "Pulsar/ArchiveStatistic.h"
14
15namespace Pulsar {
16
19
20 public:
21
24
27
30
31 // Text interface to the PhaseVsFrequency class
32 class Interface : public TextInterface::To<DynamicStatSpectrumPlot> {
33 public:
34 Interface (DynamicStatSpectrumPlot* = 0);
35 };
36
37 void get_plot_array(const Archive *data, float *array);
38
40 virtual void preprocess (Archive*) {}
41
44
47
48 protected:
49
51
52 };
53
54}
55
56#endif
Commmon statistics that can be derived from an Archive.
Definition ArchiveStatistic.h:25
The primary interface to pulsar observational data.
Definition Archive.h:46
DynamicSpectrumPlot()
Default constructor.
Definition DynamicSpectrumPlot.C:19
TextInterface::Parser * get_interface()
Get the text interface to the configuration attributes.
Definition DynamicStatSpectrumPlot.C:27
void set_statistic(ArchiveStatistic *)
Set the statistic.
Definition DynamicStatSpectrumPlot.C:69
~DynamicStatSpectrumPlot()
Default constructor.
Definition DynamicStatSpectrumPlot.C:23
ArchiveStatistic * get_statistic() const
Get the statistic.
Definition DynamicStatSpectrumPlot.C:75
DynamicStatSpectrumPlot()
Default constructor.
Definition DynamicStatSpectrumPlot.C:18
virtual void preprocess(Archive *)
Disable preprocessing.
Definition DynamicStatSpectrumPlot.h:40
void get_plot_array(const Archive *data, float *array)
Derived classes must fill in the nsubint by nchan data array.
Definition DynamicStatSpectrumPlot.C:33
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0