SEPIA
Software documentation for the APEX SEPIA receivers
atmosphereplot.h
1 /* Copyright 2017 Michael Olberg <michael.olberg@chalmers.se> */
2 #ifndef ATMOSPHEREPLOT_H
3 #define ATMOSPHEREPLOT_H
4 
5 #include <QWidget>
6 #include <QVector>
7 
8 #include <qwt_plot.h>
9 #include <qwt_plot_curve.h>
10 #include <qwt_plot_marker.h>
11 
12 #include "sbmarker.h"
13 #include "../constants.h"
14 
15 class AtmospherePlot : public QWidget
16 {
17  Q_OBJECT
18  public:
19  explicit AtmospherePlot(QWidget *parent = 0);
20 
21  public slots:
22  void updateBand(Sepia::Channel, double fmin, double fmax);
23  void updateLO(double ghz);
24 
25  private:
26  QwtPlot *atmPlot;
27  QwtPlotCurve *transmission;
28  QwtPlotMarker *LOmarker;
29  SidebandMarker *SBmarker;
30 
31  QVector<double> m_GHz;
32  QVector<double> m_tx;
33 };
34 
35 #endif
Channel
An enumeration for the three SEPIA channels (cartridges).
Definition: constants.h:66