32 lines
612 B
C++
32 lines
612 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, SpotCount, IndexingRate, IndexingRatePerFile, ADUHistorgram};
|
|
|
|
struct PlotRequest {
|
|
PlotType type;
|
|
uint64_t binning;
|
|
};
|
|
|
|
struct Plot {
|
|
std::vector<float> x;
|
|
std::vector<float> y;
|
|
};
|
|
|
|
struct RadialIntegrationProfileStruct {
|
|
std::string title;
|
|
Plot plot;
|
|
};
|
|
|
|
struct RadialIntegrationProfiles {
|
|
std::vector<RadialIntegrationProfileStruct> profiles;
|
|
};
|
|
|
|
#endif //JUNGFRAUJOCH_PLOT_H
|