Open
Conversation
Brings in the following enhancements from smx_beamtime: - New clustering tools (cluster2, index2) - Geometry refinement capabilities - Cake plot preparation utilities - Reflection subsampling and clustering in small_cell indexing - Various powder plotting enhancements These changes enable advanced small-cell crystallography workflows including geometry refinement and multi-stage clustering.
This script is no longer needed and has been superseded by other tools. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
These experimental indexing and clustering algorithms are specific to the smx_findexer workflow and have been moved to that dedicated branch. The smx_small_cell_processing branch now contains only general small-cell features: - geometry_refiner.py: Geometry refinement functionality - powder_refine_geometry.py: Powder-based geometry refinement tool - powder_util.py: General powder pattern utilities - small_cell.py: Core small-cell processing with reflection subsampling The experimental clustering/indexing algorithms (cluster2.py, index2.py) are now on the smx_findexer branch along with the smx_statistics worker that supports them. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…ents This allows users to stop plotting after a specified number of experiments, useful when working with large datasets. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove the superseded angle_histogram feature entirely: the angle() and create_pairwise_plots() top-level functions, the per-experiment and per-reflection angle accumulation code, and the post-loop histogram plot. Also remove import itertools (only used by that code) and the duplicate import numpy as np. Fix n_max off-by-one: change i>n_max to i>=n_max so that n_max=10 processes exactly 10 experiments (indices 0-9).
…ounter, relaxed tolerances
…mx_small_cell_processing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New development work from January 2026 mail-in beamtime.
d_targetsetting tocctbx.xfel.powder_from_spots, triggering a 1d grid search for detector distance corrections. A second experimental way iscctbx.xfel.powder_refine_geometry, which performs a least-squares refinement of detector displacements and tilts.