Files
Jungfraujoch/common/Plot.h
T
2025-05-28 18:49:27 +02:00

32 lines
865 B
C++

// SPDX-FileCopyrightText: 2024 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
// SPDX-License-Identifier: GPL-3.0-only
#ifndef JUNGFRAUJOCH_PLOT_H
#define JUNGFRAUJOCH_PLOT_H
#include <vector>
#include <cstdint>
#include <string>
#include <optional>
enum class PlotType {
BkgEstimate, AzInt, SpotCount, IndexingRate, IndexingUnitCellLength, IndexingUnitCellAngle,
ErrorPixels, SaturatedPixels, ImageCollectionEfficiency, ReceiverDelay, ReceiverFreeSendBuf, StrongPixels,
ROISum, ROIMean, ROIMaxCount, ROIPixels, ROIWeightedX, ROIWeightedY, PacketsReceived, MaxValue,
ResolutionEstimate, IndexingTime
};
struct PlotRequest {
PlotType type;
uint64_t binning;
bool experimental_coord;
};
struct GridPlotRequest {
PlotType type;
std::string roi;
float fill_value = -1.0;
};
#endif //JUNGFRAUJOCH_PLOT_H