Files
Jungfraujoch/common/Plot.h
T
leonarski_f 0e9f7cc956
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 14m41s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 15m22s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 17m23s
Build Packages / build:rpm (rocky8) (push) Successful in 17m45s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 18m8s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 18m16s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 18m18s
Build Packages / build:rpm (rocky9) (push) Successful in 11m29s
Build Packages / Generate python client (push) Successful in 33s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 11m21s
Build Packages / Create release (push) Skipped
Build Packages / Build documentation (push) Successful in 56s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 11m42s
Build Packages / XDS test (neggia plugin) (push) Successful in 10m51s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 11m18s
Build Packages / XDS test (durin plugin) (push) Successful in 11m31s
Build Packages / DIALS test (push) Successful in 13m54s
Build Packages / Unit tests (push) Successful in 1h1m24s
Save/transfer/read/display image scale results
2026-05-14 16:37:21 +02:00

35 lines
1.1 KiB
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, AzInt1D, SpotCount, SpotCountLowRes, SpotCountIndexed, SpotCountIceRing,
IndexingRate, IndexingUnitCellLength,
IndexingUnitCellAngle, ErrorPixels, SaturatedPixels, ImageCollectionEfficiency, ReceiverDelay, ReceiverFreeSendBuf,
ROISum, ROIMean, ROIMaxCount, ROIPixels, ROIWeightedX, ROIWeightedY, PacketsReceived, MaxValue,
ResolutionEstimate, ProfileRadius, Mosaicity, BFactor, PixelSum, StrongPixels,
RefinementBeamX, RefinementBeamY, ImageProcessingTime, IntegratedReflections,
ImageScaleFactor, ImageScaleCC
};
enum class PlotAzintUnit {
Q_recipA, TwoTheta_deg, D_A
};
struct PlotRequest {
PlotType type = PlotType::BkgEstimate;
uint64_t binning = 0;
bool experimental_coord = false;
PlotAzintUnit azint_unit = PlotAzintUnit::Q_recipA;
std::optional<float> fill_value;
};
#endif //JUNGFRAUJOCH_PLOT_H