Space group: screw-absence bound 20 -> 8 nats, recalibrated on the zones
Mapped every single-axis screw candidate of every primitive-lattice set in battery 3 (open + in-house) and the private arm against the deposited group. False zones with no violation read at most +4 nats (plus one pseudo- translation row at +30.5 that no bound separates); true zones go down to +10. The true zones under 20 are all short monoclinic rows (b ~ 25-30 A: four to six 0k0-odd reflections inside the search's resolution range, on weak data at a few percent of their row), refused at 20 on five crystals that are P2_1: four myoglobin sweeps (10.0-16.3 nats) and 6cs9 (10.8). The rc174-cand myob_x06da_split call sat at 21.1, one refit away from P2. Re-scoring the stored candidate tables at the new bound changes only those five plus 3r6o (I4_1 2 2 newly eligible, toward the deposited I4_1 screw); no adopted group elsewhere. New test section pins both sides: four 0k0-odd at 2% of their row are claimed (11.3 nats), at 20% they are not. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K5K8jvPPbmCrbqnWkddTuB
This commit is contained in:
1 parent
52932337fb
commit
3f89759cb5
2 files changed
+38
-1
No files matched your search
@@ -635,7 +635,19 @@ struct SearchSpaceGroupOptions {
|
||||
// exists to avoid. A thin monoclinic sweep reaching only three 0k0-odd reflections loses its
|
||||
// 2(1) to this. Lowering the floor to 7.7e-4 would let three through; that is a recalibration
|
||||
// and needs its own battery.
|
||||
double min_screw_absence_evidence = 20.0;
|
||||
//
|
||||
// Recalibrated on the zones themselves rather than on the probe crystals: every single-axis
|
||||
// candidate of every primitive-lattice set of a 230-set battery (open, in-house and private),
|
||||
// labelled against the deposited group. A false zone with no violation reads at most +4 nats
|
||||
// (a row that is weak, not dead, adds at most +6 to a group that is eligible without it), and the
|
||||
// one false zone above that, +30.5, is a row that is genuinely present at a few percent of its
|
||||
// neighbours under a pseudo-translation - no bound separates it from a true screw, whose rows
|
||||
// read from +10 up. The true zones under 20 are all short rows: a 2(1) along a monoclinic axis of
|
||||
// 25-30 A reaches four to six odd reflections inside the search's resolution range, and on weak
|
||||
// data those sit at a few percent of their row, not at the floor - 10.0 to 16.3 nats, refused at
|
||||
// 20 on every one of five such crystals. The bound sits in the measured gap. Two absences can now clear it if both are below about 2% of
|
||||
// their row.
|
||||
double min_screw_absence_evidence = 8.0;
|
||||
|
||||
// ---- Glide planes (small-molecule space groups) -------------------------------------------
|
||||
// Offer the NON-SOHNCKE space groups of the same proper-rotation set as candidates, so a glide
|
||||
|
||||
@@ -279,6 +279,31 @@ TEST_CASE("SearchSpaceGroup weighs a screw's absences by evidence, not by how ma
|
||||
CHECK(result.best_space_group->short_name() == "P21");
|
||||
}
|
||||
|
||||
// A short monoclinic axis on weak data: four 0k0-odd reflections in range, each at 2% of its row
|
||||
// rather than at the floor. That zone reads ~11 nats - refused under the old bound of 20 on five
|
||||
// crystals that are P2_1 - and must be claimed; the same four at a fifth of their row must not.
|
||||
SECTION("four absences at a few percent of a short row: the screw is found, at a fifth it is not") {
|
||||
for (const auto& [fraction, expected] : {std::pair{0.02, "P21"}, std::pair{0.2, "P2"}}) {
|
||||
auto merged = GenerateMergedReflectionsForSpaceGroup(sg, 18);
|
||||
int kept = 0;
|
||||
std::erase_if(merged, [&](MergedReflection& r) {
|
||||
if (!gops.is_systematically_absent(gemmi::Op::Miller{{r.h, r.k, r.l}}))
|
||||
return false;
|
||||
if (kept >= 4)
|
||||
return true;
|
||||
++kept;
|
||||
r.I = static_cast<float>(fraction * 350.0);
|
||||
return false;
|
||||
});
|
||||
REQUIRE(kept == 4);
|
||||
|
||||
const auto result = SearchSpaceGroup(merged, opt);
|
||||
INFO(SearchSpaceGroupResultToText(result));
|
||||
REQUIRE(result.best_space_group.has_value());
|
||||
CHECK(result.best_space_group->short_name() == expected);
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("a uniformly weak axial row decides nothing, however many absences it holds") {
|
||||
// The whole 0k0 row badly measured: the predicted-absent reflections are weak, but so is the
|
||||
// rest of their row, so there is no contrast and no screw to claim. A violation count cannot
|
||||
|
||||
Reference in new issue
Block a user