palvarezc / cavendish-particle-tracks

A Napari plugin to perform a simple particle tracking analysis for the Cavendish laboratory's Undergraduate Part II Particle Tracks experiment.
https://palvarezc.github.io/cavendish-particle-tracks/
Other
2 stars 0 forks source link

Reshuffle the data and show first event #153

Closed palvarezc closed 1 month ago

palvarezc commented 1 month ago

The Event dimension of the data randomly reshuffled according to the new parameter reshuffling_seed. The idea is to set this seed differently for different machines.

Also, napari shows the centre of the stack by default. Changed behaviour to show first event on loading the data.

Added a check of the number of images per view, to avoid:

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Flag Coverage Δ
90.23% <100.00%> (+0.12%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/cavendish_particle_tracks/_analysis.py 95.06% <100.00%> (+0.06%) :arrow_up:
src/cavendish_particle_tracks/_main_widget.py 93.43% <100.00%> (+0.16%) :arrow_up: