Skip to content

v2.4.0 release - #19

Merged
holsam merged 24 commits into
mainfrom
v2.4.0-release
Aug 20, 2026
Merged

v2.4.0 release#19
holsam merged 24 commits into
mainfrom
v2.4.0-release

Conversation

@holsam

@holsam holsam commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Changelog

  • Adds option --print-angles to pylisc frames which outputs the consensus angles used per tilt series.
  • Adds option --anchor-tilts to pylisc frames which sets the number of tilts used as the anchoring seed for angle consensus checks.
  • Updated selection method for rejected tilt consensus angles.
  • Updated README.md.
  • Updates test suite to improve coverage.

holsam added 24 commits August 19, 2026 15:05
- Modified frames.py to add a utility function to print a table
containing per file angle estimation information.
- Modified cli.py to add `--print-angles` option for frames command.
- Modified tests/unit/test_frames.py to add a unit test for frames which
checks consensus angle doesn't change by printing.
Merge pull request #17 from holsam/print-angles-frames
- Modified frames.py to use a per-series curtaining angle calculation,
so series using different pre-tilts don't influence the others
destriping angle.
- Modified frames.py to use anchor tilts (around median tilt ≈ pre-tilt)
to set the destriping angle with subsequent angles compared to this for
agreement.
- Modified frames.py to update printing angle function to save to csv
and only print per-series per-tilt tables.
- Modified cli.py to add `--anchor-tilts` option for `pylisc frames`
command.
- Modified frames.py to use nearest accepted tilt angle consensus as
fallback value for rejected tilts.
- Modified tests/integration/test_cli.py to increase number of synthetic
frames used in pylisc frames test so warning is output.
- Modified tests/unit/test_frames.py to update unit tests to reflect
recent changes in angle consensus calculation.
Merge pull request #18 from holsam/seeded-consensus
- Modified tests/conftest.py to add existing fixture functions as actual
pytest fixtures.
- Deleted tests/fixtures.py as now redundant.
- Modified io.py to wrap readMrcFile in a try/except block to catch any
invalid MRC files and log a warning for these, returning (None, None) if
raised.
- Modified frames.py and stack.py to skip any MRC files which cannot be
read when running the curtaining angle pre-pass.
- Modified test files to use pytest fixtures directly instead of
importing.
- Modified test_cli.py to add unit tests for `--version` option,
deprecation warnings, and frames option validation.
- Modified test_destripe.py to add unit test for dc_protect_frac
low-frequency preservation.
- Modified test_frames.py to add unit tests for _process_one,
_split_by_tilt_gap, and run_frames edge cases.
- Modified test_io.py to add unit test for nameOutputFile function.
- Modified test_templates.py to refactor tests into class, and add unit
tests for invalid field name and unparseable tilt edge cases.
- Added test_blur.py to define unit tests for FFT gaussian blur and
highpass bandpass filtering.
- Added test_lisc.py to define unit tests for lisc_clear_frame pixel
size, filter, and linear dispatch.
- Added test_preview.py to define unit tests for
generate_strength_preview angular and linear modes.
- Added test_stack.py to define unit tests for _process_series and batch
error handling.
@holsam holsam self-assigned this Aug 20, 2026
@holsam holsam added the enhancement New feature or request label Aug 20, 2026
@holsam
holsam merged commit 08620f5 into main Aug 20, 2026
1 check passed
@holsam
holsam deleted the v2.4.0-release branch August 20, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant