025c9b3aee
Build Packages / Unit tests (push) Failing after 8m2s
Build Packages / build:rpm (rocky9_nocuda) (push) Failing after 9m20s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Failing after 9m19s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Failing after 9m51s
Build Packages / build:rpm (rocky8_nocuda) (push) Failing after 10m57s
Build Packages / build:rpm (rocky9_sls9) (push) Failing after 12m46s
Build Packages / build:rpm (rocky8_sls9) (push) Failing after 14m28s
Build Packages / build:rpm (rocky8) (push) Failing after 14m27s
Build Packages / Generate python client (push) Successful in 1m15s
Build Packages / Build documentation (push) Successful in 1m30s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky9) (push) Failing after 10m4s
Build Packages / build:rpm (ubuntu2404) (push) Failing after 10m8s
Build Packages / build:rpm (ubuntu2204) (push) Failing after 11m36s
Build Packages / XDS test (durin plugin) (push) Successful in 10m49s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 9m18s
Build Packages / XDS test (neggia plugin) (push) Successful in 8m52s
Build Packages / DIALS test (push) Successful in 15m45s
54 lines
1.5 KiB
C++
54 lines
1.5 KiB
C++
// SPDX-FileCopyrightText: 2024 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
|
|
#ifndef JFJOCH_SCANRESULT_H
|
|
#define JFJOCH_SCANRESULT_H
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
#include <optional>
|
|
#include <string>
|
|
|
|
#include "CrystalLattice.h"
|
|
#include "UnitCell.h"
|
|
|
|
struct ScanResultElem {
|
|
int64_t number = -1;
|
|
float collection_efficiency = 0.0;
|
|
|
|
std::optional<int64_t> x;
|
|
std::optional<int64_t> y;
|
|
std::optional<float> angle_deg;
|
|
|
|
std::optional<uint64_t> pixel_sum;
|
|
std::optional<int64_t> min_viable_pixel;
|
|
std::optional<int64_t> max_viable_pixel;
|
|
std::optional<int64_t> err_pixels;
|
|
std::optional<int64_t> sat_pixels;
|
|
std::optional<float> bkg;
|
|
std::optional<int64_t> spot_count;
|
|
std::optional<int64_t> spot_count_low_res;
|
|
std::optional<int64_t> spot_count_indexed;
|
|
std::optional<int64_t> spot_count_ice;
|
|
std::optional<int64_t> indexing_solution;
|
|
std::optional<float> profile_radius;
|
|
std::optional<float> b_factor;
|
|
std::optional<float> res;
|
|
std::optional<UnitCell> uc;
|
|
std::optional<uint64_t> xfel_pulse_id;
|
|
std::optional<float> mosaicity;
|
|
std::optional<float> image_scale_factor;
|
|
std::optional<int64_t> niggli_class;
|
|
std::optional<int64_t> integrated_reflections;
|
|
};
|
|
|
|
struct ScanResult {
|
|
std::string file_prefix;
|
|
std::vector<ScanResultElem> images;
|
|
|
|
std::optional<CrystalLattice> rotation_lattice;
|
|
};
|
|
|
|
#endif //JFJOCH_SCANRESULT_H
|