Report the strongest index-2 superstructure class and the cell it doubles to
The report-only supercell probe now reaches the results report: SUPERCELL_CLASS (parity of the primitive indices), its occupancy and Bragg-like (rocking) part against the lattice's own reflections, its <I/sigma>, and SUPERCELL_DOUBLED_CELL, the Niggli-reduced cell to give with -C. No decision is taken on it: correct cells whose half-integer class is diffuse, and cells whose depositor kept the sub-cell, cannot be told from a real doubling by the data alone. On a crystal with a real doubled axis the reported cell matched the deposited one, and processing on it with -C brought R_free against the deposited model from 0.60 to 0.29. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D1G8gJVAy6gp1K5Dz3NE5C
This commit is contained in:
1 parent
9e510816e0
commit
6c9205a670
7 files changed
+96
No files matched your search
@@ -640,6 +640,7 @@ void IndexAndRefine::ProbeSupercell(std::vector<int64_t> image_numbers) {
|
||||
std::sort(image_numbers.begin(), image_numbers.end());
|
||||
supercell_probe_frames_ = std::move(image_numbers);
|
||||
supercell_probe_ = {};
|
||||
supercell_probe_primitive_.reset();
|
||||
}
|
||||
|
||||
SupercellProbe IndexAndRefine::GetSupercellProbe() {
|
||||
@@ -647,6 +648,11 @@ SupercellProbe IndexAndRefine::GetSupercellProbe() {
|
||||
return supercell_probe_;
|
||||
}
|
||||
|
||||
std::optional<CrystalLattice> IndexAndRefine::GetSupercellProbePrimitive() {
|
||||
const std::unique_lock ul(supercell_probe_mutex_);
|
||||
return supercell_probe_primitive_;
|
||||
}
|
||||
|
||||
void IndexAndRefine::ProbeSupercellFrame(const DataMessage &msg, BraggPrediction &prediction,
|
||||
const BraggIntegrateFn &integrate, const IndexingOutcome &outcome,
|
||||
const BraggPredictionSettings &settings) {
|
||||
@@ -684,6 +690,7 @@ void IndexAndRefine::ProbeSupercellFrame(const DataMessage &msg, BraggPrediction
|
||||
for (int i = 0; i < 8; i++)
|
||||
for (int j = 0; j < 2; j++)
|
||||
supercell_probe_[i][j] += frame[i][j];
|
||||
supercell_probe_primitive_ = prim;
|
||||
}
|
||||
|
||||
std::optional<IndexAndRefine::IndexingOutcome>
|
||||
|
||||
Reference in new issue
Block a user