Skip to content

v0.5.0 release - #18

Merged
holsam merged 34 commits into
mainfrom
v0.5.0-release
Nov 12, 2026
Merged

holsam merged 34 commits into
mainfrom
v0.5.0-release

Conversation

@holsam

@holsam holsam commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Changelog

holsam added 30 commits November 6, 2026 16:49
- Added gui/components/patch.py to define cropped area showing pick and extraction box which are movable.
- Added tests/gui/test_patch.py to define tests for geometry, dragging, clamping and clearing.
- Modified gui/components/images.py to add helper for creating outlined rectangle on pixmap.
- Modified tests/gui/test_components.py to add tests for new helper.
- Modified gui/tabs/review_tab.py to show previews as and a close-up XY patch with extraction box and pick highlighted which can be dragged to adjust positioning.
- Modified gui/components/patch.py to expose crop showing.
- Modified tests/gui/test_review_tab.py to add tests for grid, box sources, preview geometry and dragging patch.
Merge pull request #13 from holsam/adjustable-patch
- Modified model.py to add box edge in Angstroms to picks.
- Modified tests/test_model.py to add tests for the box edge saving/loading, and compatibility with old files.
- Modified estimates.py to add function to derive effective box edge.
- Modified gui/tabs/review_tab.py to use estimates-based function rather than individual copy.
- Modified tests/test_estimates.py to add tests for effective box edge derivation.
- Modified tests/gui/test_review_tab.py to update box edge test.
- Modified config.py to add pick mode and bounds-mode padding to configuration.
- Modified estimates.py to leave the pick settings out of the estimate digest, so adding them doesn't invalidate existing fits.
- Modified gui/dialogs/kind_dialog.py to add picking section.
- Modified gui/panes/kinds_pane.py to list pick mode in kinds list.
- Modified tests/test_config.py to add tests for pick mode and bounds padding.
- Modified tests/test_estimates.py to add test for pick mode fit invalidation.
- Modified tests/gui/test_dialogs.py to add test for selecting pick mode.
- Modified tests/gui/test_panes.py to update tests to include pick mode in fields.
- Modified gui/components/canvas.py to add bounds mode which resolves pairs of clicks for bound-based picks.
- Modified gui/tabs/pick_tab.py to activate bounds mode for kinds that require it.
- Modified tests/gui/test_components.py to add tests for bounds mode click resolution.
- Modified tests/gui/test_pick_tab.py to add tests for activating bounds mode in pick tab.
- Modified gui/tabs/pick_tab.py to add box column to pick table if any picks have boxes.
- Modified gui/tabs/review_tab.py to add box column to pick table if any picks have boxes.
- Modified tests/gui/test_pick_tab.py to add test for new box column.
- Modified tests/gui/test_review_tab.py to add test for new box column.
- Modified tests/test_items.py to add test for per-pick boxes being exported/extracted.
Merge pull request #15 from holsam/bounds-picking
- Added estimate/common.py to contain crop and projection utilties.
- Modified estimate/ring.py to remove own crop/projection utilties and use shared versions.
- Modified tests/test_estimate.py to add tests for shared helpers.
- Modified estimate/registry.py to add optional field for in-plane direction.
- Modified estimates.py to read empty in-plane direction entries as no direction.
- Modified tests/test_estimates.py to add tests for saving/loading directions.
- Modified config.py to add settings for filament estimator.
- Modified estimates.py to include filament settings in estimate digest for filament kinds.
- Modified tests/test_config.py to add tests for new filament estimator settings.
- Modified tests/test_estimates.py to add test for filament kinds not invalidating non-filament kinds.
- Added estimate/filament.py to register filament estimator, which finds the strongest dark ridge near a pick in a slab about it, giving the measured segment and direction.
- Modified estimate/registry.py to import new filament registry.
- Modified config.py to default high-pass width to 600 Å and weak SNR to 3.0.
- Added tests/test_filament.py to define tests for filament estimator.
- Modified gui/panes/settings_pane.py to add collapsible section for filament estimator.
- Modified tests/gui/test_panes.py to add tests for filament estimator settings.
- Modified gui/components/canvas.py to add filament direction to fits, drawn as a line through centre.
- Modified gui/tabs/pick_tab.py to pass direction to canvas where one exists.
- Modified gui/components/patch.py to draw axis in patch which moves as box is dragged.
- Modified gui/tabs/review_tab.py to draw filament axis in review tab.
- Modified tests/gui/test_components.py to add tests for filament axis drawing.
- Modified tests/gui/test_patch.py to add test for filament axis being drawn in patch.
- Modified tests/gui/test_pick_tab.py to add test for filament axis being passed to canvas and drawn.
- Modified tests/gui/test_review_tab.py to add test for patch showing filament axis.
- Modified average.py so filaments are oriented so their direction is along x before averaging.
- Modified tests/test_average.py to add tests for filament orientation.
- Modified average.py to add field for averaging results to indicate if any box was oriented pre-averaging.
- Modified gui/panes/average_pane.py to add a note when averaging results include oriented boxes.
- Modified tests/gui/test_panes.py to add test for note getting displayed.
- Modified tests/gui/test_average.py to update test to check for averaging result field being set.
- Modified export.py to add column to provide psi prior in exported star files of filament kinds.
- Modified tests/test_export.py to add tests for the exported psi prior.
Merge pull request #16 from holsam/filament-estimator
- Modified average.py to add function for generating a normalised projection of each item's box with the box edge, with picks that have their own size being resampled to kind box so picks of different sizes can be compared.
- Modified tests/test_average.py to add tests for generated projections matching averages and pick box resampling.
- Modified config.py to add settings for kind validation.
- Modified tests/test_config.py to add tests for new kind validation settings.
- Added validation.py to define functions for validating kinds, using best normalised cross-correlation of boxes with kind average.
- Added tests/test_validation.py to define tests for new validation functions.
- Modified estimates.py to add validation store.
- Modified items.py to flag when pick validation score is below it kind average.
- Modified validation.py to add store for scores, saving scores to a CSV file and validating that scores are valid.
- Modified gui/panes/kinds_pane.py to move scores over a kind rename.
- Modified gui/tabs/pick_tab.py to show flagged picks.
- Modified gui/tabs/review_tab.py to show flagged picks.
- Modified tests/test_items.py to add test for flagging picks with low score.
- Modified tests/test_validation.py to add tests for updating validation functions.
- Modified tests/gui/test_pick_tab.py to add test for flagged picks.
- Added validate.py to run kind validation, storing scores and reporting.
- Added tests/test_validate.py to define tests for running kind validation.
- Modified gui/tabs/review_tab.py to add button to trigger kind validation and a score column which is shown once a pick shown has a score.
- Modified tests/gui/test_review_tab.py to add tests for the triggering validation, the column and table ordering.
- Modified average.py to map validation scores and pick ids so a montage can be generated of worst picks.
- Modified gui/panes/average_pane.py to add a montage for the lowest scoring picks.
- Modified tests/test_average.py to add test for lowest scored montage.
- Modified tests/gui/test_panes.py to add test for the lowest scored montage.
- Modified gui/panes/settings_pane.py to add collapsible validation section.
- Modified tests/gui/test_panes.py to add tests for validation section autosaving and editing.
Merge pull request #17 from holsam/kind-validation
- Modified README.md to describe the filament estimator, the two-click pick mode, arrow key scrolling, the Review tab's patch, kind validation, filament averages and lowest scoring montages.
- Updated docs/images/* to match updated UI.
- Modified gui/tabs/pick_tab.py to show a toast when tomograms fail to open with error.
- Added gui/components/assets/dark_mode.svg & gui/components/assets/light_mode.svg.
- Modified NOTICE to include above assets.
- Modified gui/panes/welcome_pane.py to add a toggle for light mode/dark mode.
- Modified gui/app.py to save chosen theme and apply it to window on changes.
- Modified gui/style.py to tint action icons with theme's button text colour.
- Modified gui/tabs/pick_tab.py to mark icons for retinting.
- Modified gui/tabs/review_tab.py to mark icons for retinting.
@holsam holsam self-assigned this Nov 12, 2026
@holsam holsam added the enhancement New feature or request label Nov 12, 2026
@holsam
holsam merged commit 53279a0 into main Nov 12, 2026
1 check passed
@holsam
holsam deleted the v0.5.0-release branch November 12, 2026 10:47
@holsam holsam linked an issue Nov 12, 2026 that may be closed by this pull request
@holsam holsam mentioned this pull request Nov 12, 2026
@holsam holsam linked an issue Nov 12, 2026 that may be closed by this pull request
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.

Add kind validation flagging Add filament estimator

1 participant