12#ifndef BANDPASSTABLE_PLOT_H
13#define BANDPASSTABLE_PLOT_H
15#include "Pulsar/FrequencyPlot.h"
28 class Interface :
public TextInterface::To<BandpassPlot>
31 Interface (BandpassPlot *s_instance = 0);
36 void prepare(
const Pulsar::Archive *);
38 virtual void preprocess(Pulsar::Archive* arch) {}
40 void draw(
const Pulsar::Archive*);
43 void set_crop(
float new_crop ) { crop = new_crop; }
46 float get_crop()
const {
return crop; }
49 std::vector<std::vector<float> > get_passbands() {
return passbands; }
53 std::vector<std::vector<float> > means;
55 std::pair<float, float> means_minmax;
57 std::vector<std::vector<float> > passbands;
59 unsigned passband_npol;
61 unsigned passband_nchan;
Simple plots with radio frequency along the x-axis.
Definition FrequencyPlot.h:22
virtual TextInterface::Parser * get_interface()=0
Get the text interface to the configuration attributes.
Defines the PSRCHIVE library.
Definition CalSource.h:17