Repository navigation
uipsf: M2 follow-up -- tilt, drift, score per height, h at 5 nm, a slide's flatness - #168
Merged
Merged
Conversation
…above held from the molecule stack insitu_start_o6_edge_n1345_ab_n1345: Z6 61.3 (stack 56.6, order 8 71.9), Z11 29.5 (24.2, 55.1), Z12 6.2, x coma 24.7 / 14.4 (4.6 / 1.7), focus 537 nm (stack held 420, order 8 682). Held-out: +2.32 nats per molecule on the stack's (order 8 +4.51), -1.61 on the movie's held out (-1.75), +1.09 on its surplus (+0.36). Most of the low-order excess was the modes above order 6's; x coma and the gap remain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… nm, a slide's flatness PR #167's scripts run on M2's paired data (architecture.md "Follow-up (November 2026)", roadmap item 9): - score per height: the stack's pupil fits better below ~400 nm, in situ's above (+8 ... -6 nats per molecule from 0-200 to 800-1000 nm): depth-dependent; the surplus crowds at 200-400 nm. - h held at 5 nm: the stack's phase within 0.4 nm rms, γ 0.12 -> 0.25, the same held-out score; in situ from it lands where it did; the gap +5.20 / -1.73 nats per molecule (+4.51 / -1.75). - tilt: most tiles lie under the nucleus (spike 0); the three glass tiles slope 23-29 nm per µm along y, the pupil's tilt is along x. stack_flatness.py (new): a slide on M2 is level to 0.04°, flat to 4-5 nm rms -- 30-70 times less than the movie's. - drift: glass molecules only in the first ~2200 frames, so the edge's line is not a drift; the floor holds within ±20 nm over the last ~50 000 frames. tilt_from_edge.py: the stack's plane read off the device before float64 (MPS has none). The order-6 cross-check's commit, cherry-picked, missed #166. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This runs PR #167's scripts on M2's paired data (12 Nov 2026) and writes up the results. The new section is "Follow-up (November 2026)" under "In situ against molecule stacks on M2" in
docs/uipsf/architecture.md, and the in situ line of roadmap item 9 is updated.Results
stack_flatness.pymeasures the AB slide: level to 0.04° and flat to 4–5 nm rms, 30–70 times less than the movie's slope.Also in this PR
tilt_from_edge.py: the stack's plane is now moved off the GPU before converting to float64, which MPS lacks.benchmarks/uipsf/results/m2_pairs_followup.jsonl, plus new rows inm2_pairs_cross.jsonlandm2_pairs_runs.jsonl. No data are in git.Differences from the brief
insitu_all_n1345_ab_n1345is the existing model, which learnt its focus rather than taking it from the coverslip edge. It was used as it is.insitu_start_o6_edge_n1345_ab_n1345.The tests were not run, because the PR has only docs, benchmark scripts and results.
ruff check --config benchmarks/uipsf/ruff.toml benchmarks/uipsf/real/m2_pairsis clean.🤖 Generated with Claude Code