Both were opt-in adaptive-spot refinements that did not help. Soft per-spot weighting was index-rate neutral across the battery (re-ranking only bites when spots exceed the max-spot cap, which weak serial data does not reach). The local-SNR gate was neutral on index rate and degraded merged CC1/2 on flooded XFEL data. Drops the flags, ApplyWeights/FilterByLocalSNR, the per-spot weight field, and the by-weight FilterSpotsByCount branch (now strongest-first only). --adaptive-spots itself is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
592 B
C
24 lines
592 B
C
// SPDX-FileCopyrightText: 2024 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#pragma once
|
|
|
|
#include "DiffractionGeometry.h"
|
|
|
|
struct SpotToSave {
|
|
float x = 0;
|
|
float y = 0;
|
|
float phi = 0;
|
|
float intensity = 0;
|
|
int64_t maxc = 0;
|
|
int64_t lattice = -1; // -1 non indexed
|
|
int64_t image = 0;
|
|
int64_t h = 0, k = 0, l= 0;
|
|
float d_A = 0.0;
|
|
float dist_ewald_sphere = 0.0;
|
|
bool ice_ring = false;
|
|
bool indexed = false;
|
|
|
|
Coord ReciprocalCoord(const DiffractionGeometry &experiment) const;
|
|
};
|