Files
leonarski_f c20b8633d7 Joint sweeps: a doubtful sweep is put on the merge's scale shell by shell
The held-out test that decides a doubtful sweep (MeasureHeldOutGains) brought it onto the
reference sweep's scale by a straight line through the shells' log scale ratios in 1/d^2 - a scale
and a B factor - and then charged whatever shape that line could not follow to the sweep's
intensities. A sweep's own scaling can leave such a shape: measured, one sweep of a four-sweep crystal
came out 15 % high against the line at low resolution and 10 % at high after a change of its distance
of 0.01 mm, and the test read it as raising the held-out residual by 1.6 % +- 0.1 % - a different
crystal - where the same sweep a run earlier had read +0.05 %, and it was left out. Its intensities
correlated with the merge as well as before (isomorphism ratio 0.975 against 0.969).

The scale is now taken per shell of equal count and interpolated linearly in 1/d^2 between them,
held flat past the outer two, and the doubtful sweep is put on the scale of the merge it is compared
with (the reference and the sweeps already joined), not the reference's alone. A scale per shell takes
out no difference between the reflections of one shell, which is what another crystal's intensities
have. That sweep now reads +0.45 % +- 0.06 % (per-shell on the reference's scale alone: +1.16 % +-
0.09 %, two errors from the bar). Where no sweep has joined yet the merge is the reference and nothing
changes; over the 15 multisweep sets and three private ones every other doubtful sweep reads as
before and every join decision is unchanged. New unit test: the same crystal on a scale that rises
15 % towards both ends of the resolution range is no longer read as raising the residual (+30 %
before); the non-isomorphous doubtful sweep of the existing test is still left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQpv3w9JdZswRqKUW2H
(cherry picked from commit 03eb81bf21)
2026-11-24 17:25:37 +01:00
..
2026-08-13 17:03:10 +02:00
2026-09-29 15:57:32 +02:00
2026-11-19 20:49:28 +01:00
2026-10-16 15:34:43 +02:00
2026-10-16 15:34:43 +02:00
2026-10-16 15:34:43 +02:00
2025-05-05 19:32:22 +02:00
2026-10-24 14:52:29 +02:00
2026-10-21 11:20:01 +02:00
2026-11-13 20:13:43 +01:00
2026-11-19 20:49:28 +01:00
2026-04-29 09:50:50 +02:00
2026-11-10 22:06:51 +01:00
2026-10-24 14:52:29 +02:00
2026-10-24 14:52:29 +02:00
2026-11-19 20:49:28 +01:00
2026-10-16 15:34:43 +02:00
2026-09-29 15:57:32 +02:00
2026-10-06 14:03:18 +02:00
2026-11-19 20:49:28 +01:00
2026-11-02 12:05:20 +01:00
2026-08-13 17:03:10 +02:00
2026-09-02 21:17:31 +02:00
2026-11-19 20:49:28 +01:00
2026-05-28 18:48:35 +02:00
2026-11-10 22:06:51 +01:00
2026-11-06 03:34:07 +01:00
2025-05-05 19:32:22 +02:00
2025-06-10 18:14:04 +02:00
2026-11-19 20:49:28 +01:00
2026-09-02 21:17:31 +02:00
2026-11-04 11:13:33 +01:00
2026-10-24 14:52:29 +02:00
2026-10-16 15:34:43 +02:00
2026-11-10 22:06:51 +01:00
2026-11-19 20:49:28 +01:00
2025-11-19 09:40:50 +01:00
2026-11-02 12:05:20 +01:00
2026-04-29 09:50:50 +02:00
2026-09-02 21:17:31 +02:00
2026-11-19 20:49:28 +01:00
2026-08-13 17:03:10 +02:00
2026-11-10 22:06:51 +01:00
2026-11-19 20:49:28 +01:00
2026-11-04 11:13:33 +01:00
2026-11-19 20:49:28 +01:00
2026-10-06 14:03:18 +02:00
2025-06-18 15:19:18 +02:00
2026-09-02 21:17:31 +02:00
2026-10-19 07:03:28 +02:00
2025-12-12 21:24:20 +01:00
2026-02-01 13:29:33 +01:00
2026-11-02 12:05:20 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2025-11-19 09:40:50 +01:00
2026-09-29 15:57:32 +02:00
2026-10-19 07:03:28 +02:00
2026-11-19 20:49:28 +01:00
2025-05-05 19:32:22 +02:00
2024-11-22 21:25:20 +01:00
2026-11-13 20:13:43 +01:00
2026-11-19 20:49:28 +01:00
2024-11-22 21:25:20 +01:00
2026-11-02 12:05:20 +01:00
2026-06-23 20:29:49 +02:00
2026-11-19 20:49:28 +01:00
2026-11-04 11:13:33 +01:00
2026-11-10 22:06:51 +01:00
2026-10-16 15:34:43 +02:00
2026-09-29 15:57:32 +02:00
2024-11-22 21:25:20 +01:00
2026-11-19 20:49:28 +01:00
2026-10-19 07:03:28 +02:00
2026-10-19 07:03:28 +02:00
2026-10-16 15:34:43 +02:00
2026-10-27 13:18:42 +01:00
2026-10-19 07:03:28 +02:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2025-03-02 13:15:28 +01:00
2026-06-08 08:30:35 +02:00
2026-11-13 20:13:43 +01:00
2026-10-16 15:34:43 +02:00
2026-11-04 11:13:33 +01:00
2026-10-16 15:34:43 +02:00
2025-11-09 12:42:27 +01:00
2026-08-13 17:03:10 +02:00
2026-11-19 20:49:28 +01:00
2026-10-16 15:34:43 +02:00
2026-08-27 22:16:54 +02:00
2024-11-22 21:25:20 +01:00
2026-10-16 15:34:43 +02:00
2026-11-19 20:49:28 +01:00
2026-11-02 12:05:20 +01:00
2025-10-01 22:54:40 +02:00
2026-11-10 22:06:51 +01:00
2026-09-02 21:17:31 +02:00
2026-09-22 06:48:37 +02:00
2026-09-02 21:17:31 +02:00
2026-06-23 20:29:49 +02:00
2026-10-24 14:52:29 +02:00
2026-10-24 14:52:29 +02:00
2026-11-10 22:06:51 +01:00
2026-10-27 13:18:42 +01:00
2026-11-02 12:05:20 +01:00
2026-11-19 20:49:28 +01:00
2026-11-10 22:06:51 +01:00
2026-11-19 20:49:28 +01:00
2026-11-13 20:13:43 +01:00
2026-11-19 20:49:28 +01:00
2026-10-27 13:18:42 +01:00
2026-11-02 12:05:20 +01:00
2026-11-10 22:06:51 +01:00
2026-10-21 11:20:01 +02:00
2026-11-19 20:49:28 +01:00
2026-11-04 11:13:33 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-06 03:34:07 +01:00
2026-11-02 12:05:20 +01:00
2026-10-16 15:34:43 +02:00
2026-10-06 14:03:18 +02:00
2026-11-06 03:34:07 +01:00
2026-09-29 15:57:32 +02:00
2026-03-02 15:57:12 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-09-02 21:17:31 +02:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-06-23 20:29:49 +02:00
2026-04-16 11:59:59 +02:00
2026-10-24 14:52:29 +02:00
2025-11-02 13:45:57 +01:00
2025-12-12 21:24:20 +01:00
2026-11-19 20:49:28 +01:00
2026-11-13 20:13:43 +01:00
2026-05-28 18:48:35 +02:00
2026-11-10 22:06:51 +01:00
2026-10-16 15:34:43 +02:00
2026-10-24 14:52:29 +02:00
2026-11-10 22:06:51 +01:00
2026-10-06 14:03:18 +02:00
2026-10-06 14:03:18 +02:00
2026-11-13 20:13:43 +01:00
2026-11-10 22:06:51 +01:00
2024-11-22 21:25:20 +01:00
2026-09-29 15:57:32 +02:00