Skip to content

Refactor cross-correlation functions to remove pretilt search range#135

Merged
McHaillet merged 3 commits into
mainfrom
remove-pre-tilt-estimation
Jul 8, 2026
Merged

Refactor cross-correlation functions to remove pretilt search range#135
McHaillet merged 3 commits into
mainfrom
remove-pre-tilt-estimation

Conversation

@McHaillet

Copy link
Copy Markdown
Collaborator

Removed pretilt_search_range parameter and related code from cross-correlation functions. Updated function calls and documentation accordingly.

The auto_zero command in WarpTools is much more reliable at finding pre-tilt, so I thought we should just remove it here. If the tilt axis angle is known and the pre-tilt corrected, this xcorr function is really good at getting initial alignments.

McHaillet and others added 3 commits July 8, 2026 12:29
Removed pretilt_search_range parameter and related code from cross-correlation functions. Updated function calls and documentation accordingly.
The previous commit swapped the import to tiltxcorr but left the call
site referencing the old tiltxcorr_with_sample_tilt_estimation name,
causing a NameError whenever cross-correlation alignment ran. Also
removes now-stale references to pretilt estimation in docstrings and
CLI help text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
torch-projectors is now published on PyPI, so the custom GitHub Pages
index URL is no longer needed for the CPU CI wheel.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/miss_alignment
  preprocessing.py
Project Total  

This report was generated by python-coverage-comment-action

@McHaillet McHaillet merged commit 80d1ff4 into main Jul 8, 2026
3 checks passed
@McHaillet McHaillet deleted the remove-pre-tilt-estimation branch July 8, 2026 11:49
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