Commit graph

3875 commits

Author SHA1 Message Date
Julian Stirling
aa704239ed Modify background detect check to check for all squares having no std. As LUV appears insensitive to low colour noise 2025-12-02 09:57:24 +00:00
Julian Stirling
3ebc4578d3 Show which background detector is active in GUI 2025-12-02 09:57:24 +00:00
Julian Stirling
1f2099e46f Add minimum standard deviations for ColourChannelDetectLUV 2025-12-02 09:57:24 +00:00
Julian Stirling
a2a6d870e2 Make turing point check in z-stack optional 2025-12-02 09:57:24 +00:00
Julian Stirling
873968877b Log warning rather than error if the named background detector doesn't exist to prevent not booting if detectors change 2025-12-02 09:57:24 +00:00
Julian Stirling
79c94c96ed Set channel minima and error if any LUV channels have std==0 2025-12-02 09:57:24 +00:00
Julian Stirling
38b8c5baa5 Apply suggestions from code review of branch scanning-stability
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-12-02 09:57:24 +00:00
Julian Stirling
23f87869ac Add a new background detector based on an 8x8 grid 2025-12-02 09:57:24 +00:00
Julian Stirling
cf92d4f3ac Make autofocus considerably stricter, forcing a parabolic fit, and only one turning point
Background can still pass this much stricter check
2025-12-02 09:57:24 +00:00
Julian Stirling
dabb195b08 Ensure smart stack exits and saves on failure only if check background is false 2025-12-02 09:57:24 +00:00
Julian Stirling
d3bd921db2 Merge branch 'visit-secondary-locations-first' into 'v3'
Visit secondary locations first

See merge request openflexure/openflexure-microscope-server!444
2025-12-01 16:31:24 +00:00
Julian Stirling
a5d5ba4af8 Update scan planner test pickles 2025-11-28 12:00:35 +00:00
Julian Stirling
dfe7fb6c42 Stop scan planner plots erroring if there are no secondary locations 2025-11-28 12:00:35 +00:00
Julian Stirling
90be139575 Update scan planners so secondary locations are imaged first and don't affect later planning 2025-11-28 09:53:24 +00:00
Julian Stirling
cd53024c4f Update the scan test helpers so it is easier to save and plot 2025-11-28 09:52:09 +00:00
Joe Knapper
23989977c2 Merge branch 'manual-config' into 'v3'
Configuration for manual microscope

See merge request openflexure/openflexure-microscope-server!439
2025-11-13 14:42:29 +00:00
Julian Stirling
11e9374dfa Merge branch 'consolidate-action-button' into 'v3'
Consolidate action buton to just a button

Closes #535

See merge request openflexure/openflexure-microscope-server!437
2025-11-13 12:12:31 +00:00
Julian Stirling
fe77908253 Make the findOngoingActions function plural to match what happens 2025-11-13 11:51:03 +00:00
Julian Stirling
8333165307 Merge branch '569-release-checklist' into 'v3'
Resolve "Release Checklist"

Closes #569

See merge request openflexure/openflexure-microscope-server!440
2025-11-12 16:10:30 +00:00
Beth Probert
7df1fea643 Fix typo 2025-11-12 15:32:18 +00:00
Beth Probert
560f863c47 Apply suggestions from code review of branch 569-release-checklist
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-11-12 15:29:15 +00:00
Beth Probert
1311cc103e Responding to comment on branching. 2025-11-12 11:27:02 +00:00
Beth Probert
f128caedff Apply suggestions from code review of branch 569-release-checklist
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-11-12 11:10:44 +00:00
Julian Stirling
f3c79b746f Fix RGB vs BGR issue for opencv camera 2025-11-11 18:12:37 +00:00
Julian Stirling
abb2698687 Add config json for manual microscope 2025-11-11 18:12:37 +00:00
Julian Stirling
3ecc41720d Merge branch 'recentre-with-rom-methods' into 'v3'
Recentre using RangeOfMotionThing methods

Closes #499 and #573

See merge request openflexure/openflexure-microscope-server!429
2025-11-11 17:49:08 +00:00
Julian Stirling
614fd8b9e9 Apply suggestions from code review of branch recentre-with-rom-methods
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-11-11 17:15:20 +00:00
Julian Stirling
b0b755f19b Update unit tests for algorithmic change to recentre 2025-11-11 17:13:52 +00:00
Julian Stirling
2937010e95 Move progress bar into the action button to stop components jumping 2025-11-11 14:41:24 +00:00
Julian Stirling
8b785823ab Fix end of action behaviours and looging errors 2025-11-11 14:41:24 +00:00
Julian Stirling
dd0a57520b Action button uses mixins for invoking and polling actions 2025-11-11 14:41:24 +00:00
Julian Stirling
4910bef717 Split the action status modal from the action button 2025-11-11 14:41:24 +00:00
Julian Stirling
5074f75442 Merge branch 'fewer-ui-assumptions' into 'v3'
UI customises to available Things

Closes #510 and #385

See merge request openflexure/openflexure-microscope-server!435
2025-11-11 14:36:22 +00:00
Julian Stirling
ed9b8ff01d Adjust algorithm to start checks for centre after first 5 mendium sized moves & improve logging. 2025-11-11 12:51:04 +00:00
Julian Stirling
b8742b449c Apply suggestions from code review of branch recentre-with-rom-methods
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-11-11 12:37:09 +00:00
Julian Stirling
bb703ab2b1 Merge branch 'temperature-ccm' into 'v3'
Ship our own default tuning files

Closes #427 and #565

See merge request openflexure/openflexure-microscope-server!410
2025-11-11 12:04:07 +00:00
Julian Stirling
7354f09319 Update picamera coverage info 2025-11-11 11:29:49 +00:00
Julian Stirling
8a4e6390c7 Apply suggestions from code review of branch temperature-ccm
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-11-11 11:20:08 +00:00
Julian Stirling
d0d30222b4 Update sensor mode picamera test to ensure that camera tests don't use saved settings 2025-11-11 11:20:08 +00:00
Julian Stirling
5c56c1e851 Apply suggestions from code review of branch temperature-ccm
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-11-11 11:20:08 +00:00
Julian Stirling
f432247446 Fix typos during refactor caught by CI 2025-11-11 11:20:08 +00:00
Julian Stirling
982c55905c Update default exposure in picam and defaul LST values in tuning files, and set default colour gains from LST 2025-11-11 11:20:08 +00:00
Julian Stirling
c0362ee8dd Make picamera tests compatible with updates 2025-11-11 11:20:08 +00:00
Julian Stirling
13d3871059 Add testing for loading the tuning files in the normal test suite now not tied to picamera 2025-11-11 11:20:08 +00:00
Julian Stirling
6763845e38 Let the tuning file utils handle lens shading table manipulation. 2025-11-11 11:20:08 +00:00
Julian Stirling
ec16cc17f8 Update tuning file utils for our own tuning files. 2025-11-11 11:20:07 +00:00
Julian Stirling
f74a51866a Adjust tuning files to have adaptive algorithms turned off. 2025-11-11 11:20:07 +00:00
Julian Stirling
01a883e95c Reset CCM resets to the CCM in the default tuning file. 2025-11-11 11:20:07 +00:00
Julian Stirling
cec6f4af73 Load tuning files in without using Picamera2 2025-11-11 11:20:07 +00:00
Julian Stirling
a2900b0c16 Move tuning files into vc4 folder in case we support pisp (Pi5) later and update README 2025-11-11 11:20:07 +00:00