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
@@ -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