Skip to content

Add CTF estimation program - #5

Open
jdickerson95 wants to merge 2 commits into
mainfrom
add-ctf-estimation
Open

Add CTF estimation program#5
jdickerson95 wants to merge 2 commits into
mainfrom
add-ctf-estimation

Conversation

@jdickerson95

Copy link
Copy Markdown
Contributor

Summary

  • Add programs/ctf_estimation to run 1D → 2D defocus/astigmatism, then a 1D thickness grid and thickness-only Adam, via torch-ctf-estimation.
  • Reported optics are the 2D defocus result. Thickness is not jointly refined with defocus (refine_dim: "thickness").
  • Wire YAML configs, CSV/YAML export, and multi-GPU/CPU scheduling (images_per_device).

Test plan

  • uv run --no-sync python -m pytest tests/test_ctf_estimate.py (estimate tests passed)
  • uv run --no-sync python programs/ctf_estimation/run_ctf_estimation.py with the example YAML pointed at a local MRC
  • Confirm torch-ctf-estimation is available (local editable path or the TeamTomo package)

Left out of this PR: test_datasets/ (local no-laser experiment data) and uv.lock.

Made with Cursor

jdickerson95 and others added 2 commits August 16, 2026 16:58
PICASSO now reports 2D defocus/astigmatism and a 1D thickness fit (grid plus thickness-only Adam) without jointly refining defocus with ice.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the 1D→2D defocus route and thickness-only refine in the program docs, and note that thickness is a CTF_t number rather than a CTFFind match.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant