Commit graph

3323 commits

Author SHA1 Message Date
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
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
Julian Stirling
fe1b84a922 Complete first pass (untested on hardware) of bg detect refactor. 2025-07-24 17:07:50 +01:00
Julian Stirling
2245d9357d Continue to rebase background detect. 2025-07-24 17:07:50 +01:00
Julian Stirling
b5586a4b32 A partial refactor of background detect 2025-07-24 17:07:50 +01:00
Julian Stirling
f12ee9bd69 Merge branch 'colour-simualation-image' into 'v3'
Update simulation canvas to have colour so it works with background detect.

See merge request openflexure/openflexure-microscope-server!328
2025-07-24 15:56:49 +00:00
Julian Stirling
31e3d15890 Add random noise to simulation image 2025-07-24 16:17:52 +01:00
Julian Stirling
5701225158 Update simulation canvas to have colour so it works with background detect. 2025-07-24 15:58:32 +01:00
Julian Stirling
37a28af04a Merge branch 'merge-settings-and-system-control' into 'v3'
Merge settings and system control

See merge request openflexure/openflexure-microscope-server!323
2025-07-15 08:02:20 +00:00
Julian Stirling
c8e87577cb Add tests for new system Thing. 2025-07-15 00:14:07 +01:00
Julian Stirling
e3146f1798 Apply suggestions from code review of branch merge-settings-and-system-control
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-14 21:32:17 +00:00
Julian Stirling
9369b2988d Shutdown button terminates server in simulation. Adjust power tab layout 2025-07-14 18:57:36 +01:00
Julian Stirling
be94df7c8a Merge SettingsManager and SystemControl Things. 2025-07-14 17:59:46 +01:00
Julian Stirling
bed59c051b Merge branch 'update-setting-manager' into 'v3'
Update setting manager

Closes #477, #343, and #475

See merge request openflexure/openflexure-microscope-server!321
2025-07-14 16:47:41 +00:00
Julian Stirling
c9c8a89236 Merge branch 'simplify-csm-interface' into 'v3'
Add camera-stage-mapping compliant functions to BaseStage and BaseCamera.

Closes #346 and #476

See merge request openflexure/openflexure-microscope-server!326
2025-07-14 16:36:04 +00:00
Julian Stirling
c64fe170cc Update pyproject.toml to be clear where version strings need to be changed on release. 2025-07-14 17:11:54 +01:00
Julian Stirling
34f8f86ef2 Apply suggestions from code review of branch update-setting-manager
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-14 17:11:54 +01:00
Julian Stirling
e614ec577e Expose server version strings in webapp. 2025-07-14 17:11:54 +01:00
Julian Stirling
225ee5bb82 Tweak CI script to have a Git name and email as this is now needed for unit testing. 2025-07-14 17:11:53 +01:00
Julian Stirling
d3732aef2f Finish testing new version functionality in utilities. 2025-07-14 17:11:53 +01:00
Julian Stirling
ea1c1df4eb Improve testing of version strings and git hashes 2025-07-14 17:11:53 +01:00
Julian Stirling
5c1f8f2e89 Write tests for checking git hash 2025-07-14 17:11:53 +01:00
Julian Stirling
83a4b72507 Start writing tests for the version strings 2025-07-14 17:11:53 +01:00
Julian Stirling
608c4bd16f Expose version as thing property and via thing state so it ends up in metadata. 2025-07-14 17:11:53 +01:00
Julian Stirling
1dd0db888d Starting to create version reading code 2025-07-14 17:11:53 +01:00
Julian Stirling
d19d44ba4f Remove unused complex functionality from settings_manager.py. 2025-07-14 17:11:53 +01:00
Julian Stirling
59a5246904 Apply suggestions from code review of branch simplify-csm-interface
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-07-14 15:33:50 +00:00
Julian Stirling
816b6fc82b Merge branch 'test-logging' into 'v3'
Test logging

See merge request openflexure/openflexure-microscope-server!325
2025-07-14 09:04:46 +00:00
Julian Stirling
dd8c97e0b6 Merge branch 'contributing-docstring-fix' into 'v3'
Fix example docstring example in CONTRIBUTING.md

See merge request openflexure/openflexure-microscope-server!324
2025-07-14 08:32:42 +00:00
Julian Stirling
705cf73173 Fixing docstrings for camera stage mapping changes. 2025-07-13 23:53:44 +01:00
Julian Stirling
531e5c27b2 Replace LoggingMoveWrapper with RecordedMove accepts a stage rather than an arbitrary move function
This was needed to get the correct key word arguments
2025-07-13 23:34:55 +01:00
Julian Stirling
b89449be77 Add camera-stage-mapping compliant functions to BaseStage and BaseCamera. 2025-07-13 21:55:55 +01:00
Julian Stirling
fab5fdfca2 Improve log filtering and logging error handling. Adding more logging tests. 2025-07-13 15:17:11 +01:00
Julian Stirling
ea73e44b01 Start adding tests for the loging configuration. 2025-07-13 14:28:55 +01:00
Julian Stirling
26b893b38c Fix example docstring example in CONTRIBUTING.md 2025-07-13 11:09:54 +00:00
Julian Stirling
18e5f80105 Merge branch 'update-readme-and-contributing' into 'v3'
Update README to point at CONTRIBUTING and make contributing link to site,...

See merge request openflexure/openflexure-microscope-server!322
2025-07-11 17:58:17 +00:00
Julian Stirling
cef3c9f40d Apply suggestions from code review of branch update-readme-and-contributing
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-07-11 16:14:03 +00:00
Julian Stirling
08aaaa6fe1 Complete a first pass of updated contributing guidelines. 2025-07-11 15:30:02 +01:00
Julian Stirling
7b5ce1d165 Update README to point at CONTRIBUTING and make contributing link to site, then give repository specifics. 2025-07-11 12:35:39 +01:00
Julian Stirling
31ed7dfc69 Merge branch 'better-docstrings' into 'v3'
Better docstrings

Closes #479 and #239

See merge request openflexure/openflexure-microscope-server!320
2025-07-11 11:16:27 +00:00
Julian Stirling
c68f0515f5 Apply suggestions from code review of branch better-docstrings
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-07-11 07:26:26 +00:00
Julian Stirling
f91582c9eb Apply suggestions from code review of branch better-docstrings
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-07-10 23:31:34 +00:00
Julian Stirling
7e6017f648 Get codespell passing and add it as a CI job. 2025-07-11 00:16:25 +01:00