From e3924a08dd6960b8079440de994a2d381c8cf818 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Fri, 29 May 2026 16:09:35 +0200 Subject: [PATCH] RotationIndexer: Add GetAccumulatedImages() - though not sure if really useful --- image_analysis/RotationIndexer.cpp | 6 +++++- image_analysis/RotationIndexer.h | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/image_analysis/RotationIndexer.cpp b/image_analysis/RotationIndexer.cpp index 56b0130b..9904b0b1 100644 --- a/image_analysis/RotationIndexer.cpp +++ b/image_analysis/RotationIndexer.cpp @@ -164,4 +164,8 @@ std::optional RotationIndexer::GetLattice() const { .geom = updated_geom_, .axis = axis_ }; -} \ No newline at end of file +} + +int64_t RotationIndexer::GetAccumulatedImages() const { + return accumulated_images; +} diff --git a/image_analysis/RotationIndexer.h b/image_analysis/RotationIndexer.h index c500b2a3..ccaca1b9 100644 --- a/image_analysis/RotationIndexer.h +++ b/image_analysis/RotationIndexer.h @@ -62,6 +62,8 @@ public: RotationIndexer(const DiffractionExperiment& x, IndexerThreadPool& indexer); void ProcessImage(int64_t image, const std::vector& spots); std::optional GetLattice() const; + + int64_t GetAccumulatedImages() const; }; #endif //JFJOCH_ROTATIONINDEXER_H \ No newline at end of file