satdump/src-core/common/widgets/snr_plot.h

16 lines
229 B
C
Raw Permalink Normal View History

#pragma once
#include "imgui/imgui.h"
#include "complex"
2021-07-26 11:25:36 +02:00
namespace widgets
{
2021-07-26 11:25:36 +02:00
class SNRPlotViewer
{
private:
float snr_history[200];
2021-07-26 11:25:36 +02:00
public:
void draw(float snr = 1, float peak_snr = 1);
};
}