Commit graph

3364 commits

Author SHA1 Message Date
Julian Stirling
33413a591a Complete UI for arbitrary dectector settings. Required better method for invoking actions.
Error handling was fixed in the process of getting the above correct.
2025-07-31 20:56:55 +01:00
Julian Stirling
92d15d921b Display background detector settings built automatically from schema 2025-07-31 20:56:55 +01:00
Julian Stirling
d376eee5d5 Remove custom error for background. Do not allow check if background is not set. 2025-07-31 20:56:55 +01:00
Julian Stirling
7f4b4ed1f3 Splitting logic for property control from logic to create UI from schema 2025-07-31 20:56:55 +01:00
Julian Stirling
e7e3a08210 Camera settings exposed in UI defined by server. 2025-07-31 20:56:55 +01:00
Julian Stirling
3651013440 Generalise server specified action buttons. 2025-07-31 20:56:55 +01:00
Julian Stirling
0794d4777f Camera calibration buttons specified by server. Simulation has option to remove sample 2025-07-31 20:56:55 +01:00
Julian Stirling
1e89ef0ff7 Merge branch 'img-name' into 'v3'
Prepend images with img_

Closes #478

See merge request openflexure/openflexure-microscope-server!341
2025-07-31 16:05:10 +00:00
Joe Knapper
c00c027ab1 Apply suggestions from code review of branch img-name
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-07-31 14:52:21 +00:00
jaknapper
df918bf286 Prepend images with img_ 2025-07-31 13:53:57 +01:00
Julian Stirling
59fd808fa9 Merge branch 'ReportPicameraTestsInCI' into 'v3'
Report Picamera tests in CI

See merge request openflexure/openflexure-microscope-server!337
2025-07-30 16:31:47 +00:00
Joe Knapper
d72aea7043 Merge branch 'download-zip-button' into 'v3'
Remove class from action button

See merge request openflexure/openflexure-microscope-server!340
2025-07-30 14:45:32 +00:00
Julian Stirling
d9db73a8d9 Fix coverage combination when other sources are removed 2025-07-30 15:12:21 +01:00
Julian Stirling
3b563a9987 Improve hardware specific tests README 2025-07-30 14:48:09 +01:00
jaknapper
16f2eee8b9 Remove class from action button 2025-07-30 13:00:10 +01:00
Julian Stirling
931a570b43 Merge branch 'purge-recentre' into 'v3'
Remove auto-recentre stage

Closes #486

See merge request openflexure/openflexure-microscope-server!339
2025-07-30 09:05:10 +00:00
Julian Stirling
e7d5b8bd1f Improve README a for hardware specific tests, and make fixes to picamera_tests script 2025-07-29 18:42:15 +01:00
jaknapper
10a49db9c9 Remove autorecentre 2025-07-29 18:29:15 +01:00
Julian Stirling
212374a6f9 Add typehints to picamera_tests script 2025-07-29 18:24:48 +01:00
Julian Stirling
83d7d20fdd Use relative paths in coverage report for combining Pi and CI reports 2025-07-29 18:21:20 +01:00
Julian Stirling
727d683c48 Add zip of picamera coverage and update CI to use it 2025-07-29 18:21:20 +01:00
Julian Stirling
9f38b041a6 Create script to zip up picamera tests and hashes of releavant source files 2025-07-29 18:21:20 +01:00
Julian Stirling
210c9ac975 Merge branch 'Camera-tweaks' into 'v3'
Stop exposure walking on camera reload, reset CCM on full calibration

See merge request openflexure/openflexure-microscope-server!334
2025-07-29 17:19:36 +00:00
Julian Stirling
f0c6ded1b6 Apply suggestions from code review of branch Camera-tweaks
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-29 16:34:38 +00:00
Julian Stirling
f710612a51 Refactor exposure tests to minimise repitition on set-up. Fix typehints and docstrings 2025-07-29 17:24:43 +01:00
Julian Stirling
bcfe8c1eb5 Apply suggestions from code review of branch Camera-tweaks
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-29 15:17:45 +00:00
Julian Stirling
38f4a745c3 Fix bug with setting exposure time on load, add associated test 2025-07-29 14:05:12 +01:00
Julian Stirling
b90b02cf7d Better fix for exposure drift with more complete testing. Also fix return value for capture_to_memory 2025-07-29 12:11:45 +01:00
Julian Stirling
8a9ed5b49b Merge branch 'nono-zenodo' into 'v3'
Remove zenodo scripts and job

See merge request openflexure/openflexure-microscope-server!336
2025-07-29 11:04:26 +00:00
Julian Stirling
756affa3aa Remove zenodo scripts and job 2025-07-29 10:15:40 +01:00
Joe Knapper
b560af0d83 Merge branch 'bump-labthings-fastapi-to-0.0.11' into 'v3'
Bump LabThings-Fastapi to 0.0.11

See merge request openflexure/openflexure-microscope-server!333
2025-07-28 17:10:36 +00:00
Julian Stirling
376780ea28 Stop exposure walking on camera reload, reset CCM on full calibration 2025-07-28 14:43:48 +01:00
Joe Knapper
ee6c303712 Merge branch 'pause-logger' into 'v3'
Make log display pause on hover

See merge request openflexure/openflexure-microscope-server!332
2025-07-28 12:49:45 +00:00
Julian Stirling
8ee2a38d2a Bump LabThings-Fastapi to 0.0.11 2025-07-28 13:09:38 +01:00
Joe Knapper
a8137fc6a0 Apply suggestions from code review of branch pause-logger
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-07-28 12:03:21 +00:00
jaknapper
b8bf8fbc18 Log display pauses on hover 2025-07-28 12:21:47 +01:00
Julian Stirling
547704fdc0 Merge branch 'bg_detect_in_camera' into 'v3'
Refactor background detect to allow switching algorithms

See merge request openflexure/openflexure-microscope-server!327
2025-07-28 09:21:43 +00:00
Julian Stirling
c17d7af1ab Apply suggestions from code review of branch bg_detect_in_camera 2025-07-27 19:26:05 +00:00
Julian Stirling
13da56f3fd Fixes for the background detect as required by code review 2025-07-27 10:40:45 +01:00
Julian Stirling
8e133a978d Clean up LUV background detect calculation 2025-07-27 10:32:33 +01:00
Julian Stirling
238d022342 Apply suggestions from code review of branch bg_detect_in_camera
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-26 16:45:06 +01:00
Joe Knapper
b4eaf48785 Merge branch 'Stitch-all' into 'v3'
Stitch all scans button, and refresh scan tab when closing modals

See merge request openflexure/openflexure-microscope-server!330
2025-07-25 17:20:03 +00:00
Joe Knapper
d6f1502593 Apply suggestions from code review of branch Stitch-all
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-07-25 16:42:27 +00:00
jaknapper
7ac77c3e89 Stitch all scans button, and refresh scan tab when closing modals 2025-07-25 16:52:37 +01:00
Julian Stirling
cc05ab4b5f Finish basic tests of background detect 2025-07-25 11:55:20 +01:00
Julian Stirling
d0b5db21ba Start adding background detect tests 2025-07-25 11:52:02 +01:00
Julian Stirling
ab6ccd429a Fix DataSchema return for background detector status 2025-07-24 18:37:34 +01:00
Julian Stirling
75bdae5593 Fix message formatting and dosctring syntax 2025-07-24 17:54:58 +01:00
Julian Stirling
25d2f400b1 Set background on the pi-camera during initial calibration 2025-07-24 17:15:28 +01:00
Julian Stirling
eed3c44804 Get new background detect running in simulation mode. 2025-07-24 17:08:39 +01:00