Files
Jungfraujoch/common/Plot.h
2024-04-20 13:41:41 +02:00

29 lines
743 B
C++

// Copyright (2019-2023) Paul Scherrer Institute
#ifndef JUNGFRAUJOCH_PLOT_H
#define JUNGFRAUJOCH_PLOT_H
#include <vector>
#include <cstdint>
#include <string>
enum class PlotType {BkgEstimate, RadInt, RadIntPerFile, SpotCount, IndexingRate, IndexingRatePerFile,
ErrorPixels, ImageCollectionEfficiency, ReceiverDelay, ReceiverFreeSendBuf, StrongPixels,
ROISum, ROIMaxCount, ROIPixels, IndexingDrift,
ResEstimation};
struct PlotRequest {
PlotType type;
uint64_t binning;
};
struct MultiLinePlotStruct {
std::string title;
std::vector<float> x;
std::vector<float> y;
};
typedef std::vector<MultiLinePlotStruct> MultiLinePlot;
#endif //JUNGFRAUJOCH_PLOT_H