Files
Jungfraujoch/common/Reflection.h
Filip Leonarski 70343ec058
All checks were successful
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 11m54s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 12m57s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 13m24s
Build Packages / Generate python client (push) Successful in 27s
Build Packages / Build documentation (push) Successful in 37s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky8) (push) Successful in 13m54s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 14m1s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 13m58s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 14m15s
Build Packages / build:rpm (rocky9) (push) Successful in 14m51s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 7m37s
Build Packages / Unit tests (push) Successful in 50m32s
Reflection: Add delta_phi
2026-02-08 12:42:38 +01:00

31 lines
747 B
C++

// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
// SPDX-License-Identifier: GPL-3.0-only
#ifndef JFJOCH_REFLECTION_H
#define JFJOCH_REFLECTION_H
#include <cstdint>
#include <optional>
#include "SpotToSave.h"
struct Reflection {
int64_t h;
int64_t k;
int64_t l;
float image_number; // Can be in-between for 3D integration
float delta_phi; // phi angle from XDS - difference from middle of current frame (NOT an absolute angle)
float predicted_x;
float predicted_y;
float d;
float I;
float bkg;
float sigma;
float dist_ewald;
float rlp;
bool observed = false;
float S_x, S_y, S_z;
float partiality;
};
#endif //JFJOCH_REFLECTION_H