twinning: the high-<|L|> comment says only what the corpus shows

The L-test comment explained a high <|L|> as a structure whose intensities "behave
centric", and a draft replacement explained it by few atoms, several of them on
special positions, contributing a large term common to every structure factor.
Both readings are wrong, and the second is wrong twice over.

Over the 113 merged datasets in the corpus the maximum is <|L|> 0.712 with a second
moment of 3.089. Those sit ABOVE the centric expectations, which are 2/pi = 0.6366
and 3.0 (simulated: 0.6367 and 3.003 for I ~ chi^2_1), so no Wilson distribution,
centric or acentric, reaches them and they cannot be read as a statement about the
structure's symmetry at all. The crystal carrying them is in an orthorhombic
Sohncke group whose three 2_1 axes each show five absences against five controls
with no violations - and that group has no special positions whatever, so the
proposed mechanism cannot apply to it.

Simulated, both halves of that mechanism move the statistics the wrong way: N
randomly placed atoms give a second moment of 2 - 1/N, always below 2, and a large
real term common to every F drives the moment from 2.00 down to 1.03 and <|L|> from
0.50 to 0.10 as it grows. The comment now gives the measured numbers, records that
the cause is not established here, and names those two guesses as already excluded.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFEJG6WBQv8th4UJFNe53N
This commit is contained in:
leonarski_fandClaude Opus 5 committed 2026-09-03 13:48:26 +02:00
1 parent c77ebe56c3
commit 605312c2f4
1 file changed
+10 -2
@@ -200,8 +200,16 @@ TwinningAnalysisResult AnalyzeTwinning(const std::vector<MergedReflection>& merg
// the second moment down from 2.0 towards 1.5. A narrow intensity distribution sitting next to an
// <|L|> at or ABOVE its untwinned value therefore has some other cause, and calling it a twin is
// the one reading the data rule out. It happens on small-cell rotation data, where a twin fraction
// of 0.50 was reported for a crystal whose <|L|> was 0.63 - a value a twin cannot produce, and one
// that points at the opposite situation, a structure whose intensities behave centric.
// of 0.50 was reported for a crystal whose <|L|> was 0.63 - a value a twin cannot produce.
// A high <|L|> here is NOT evidence of a centrosymmetric structure. Measured across the corpus,
// the highest <|L|> of all - 0.712, second moment 3.089 - belongs to a small (~10 A) cell in an
// orthorhombic group whose three 2_1 axes are each proven by absences, no violations against a
// control class of the same size, so it is chiral. Both numbers sit ABOVE the centric
// expectations of 0.637 and 3.0, which is the point: no Wilson distribution, centric or acentric,
// reaches them, so they are not a statement about the structure's symmetry at all. What does put
// them there is not established here, but it is neither of the obvious guesses - a structure of
// few atoms gives a second moment of 2 - 1/N, BELOW 2, and a large term common to every structure
// factor drives it towards 1. Read this statistic as "not a twin", and nothing further.
const bool l_test_contradicts_twin = result.l_test_pairs > 0 && result.mean_abs_l >= 0.50;
result.twinning_suspected = result.merohedral_twinning_possible && !l_test_contradicts_twin &&
((result.l_test_pairs > 0 && result.mean_abs_l < 0.44) ||