Commit graph

936 commits

Author SHA1 Message Date
Richard Bowman
9334e99551 Fix typing of JPEGSharpnessMonitor attributes
appends should be done on the underlying `_`-prefixed attributes, not on the `Sequence` typed properties.
2026-04-28 14:58:55 +01:00
Richard Bowman
d2aebf8b10 Make properties of JPEGSharpnessMonitor read-only
For thread-safety reasons we should not modify the lists used by
`JPEGSharpnessMonitor`. This commit marks them as read-only properties
and types them as `Sequence` so `mypy` should flag if they get modified.
2026-04-28 14:50:04 +01:00
Joe Knapper
4da8172a16 Updates from review, mark tests as allowed to fail 2026-04-16 11:49:04 +01:00
Joe Knapper
271c45b873 Scale blur in simulator based on objective 2026-04-09 16:16:59 +01:00
jaknapper
bc6ea9a1ca Manually test for increasing or decreasing stacks 2026-04-02 17:43:52 +01:00
jaknapper
1bb2a125bc Update comment 2026-03-27 11:28:58 +00:00
jaknapper
96d67672d9 Choose a correlation resize factor rounded to an int 2026-03-27 11:28:58 +00:00
Joe Knapper
74476f18a0 Merge branch 'smart_stack_as_mixin' into 'v3'
Move smart stacking into a mixin so it can be re-used in other workflows

See merge request openflexure/openflexure-microscope-server!554
2026-03-25 13:45:09 +00:00
Julian Stirling
17feec33e2 Apply suggestions from code review of branch smart_stack_as_mixin
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-03-25 12:26:32 +00:00
Julian Stirling
b7be12e183 Fix c-chip workflow and stop forcing the scan workflow mixin to be a workflow 2026-03-25 09:45:38 +00:00
Julian Stirling
b8db7ae2a1 Don't define both stacks for CChips 2026-03-24 16:21:18 +00:00
Julian Stirling
a82fcca339 Move smart stacking into a mixin so it can be re-used in other workflows 2026-03-24 15:58:04 +00:00
Joe Knapper
5283c1a3c5 Extra normpath in Thing startup 2026-03-24 12:40:19 +00:00
Joe Knapper
1d11e7044e Move from posix path to os path 2026-03-23 16:59:57 +00:00
Joe Knapper
19f422b2cf Merge branch 'exposure-test' into 'v3'
Flush more frames and use a request when doing exposure time

Closes #639

See merge request openflexure/openflexure-microscope-server!540
2026-03-17 14:30:24 +00:00
jaknapper
0bc6e45df9 Picamera test 2026-03-16 16:33:07 +00:00
jaknapper
a11d46777f Only drop frames when setting min exposure time 2026-03-16 15:01:10 +00:00
Joe Knapper
3b84c266b4 Apply suggestions from code review of branch exposure-test
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2026-03-16 14:31:21 +00:00
jaknapper
ae04f3b133 Drop frame drop to 2 2026-03-13 13:22:56 +00:00
jaknapper
a4aac53072 Flush more frames and use a request when doing exposure time 2026-03-13 10:48:22 +00:00
Joe Knapper
68c9f76fc0 Fix missing import 2026-03-12 16:11:41 +00:00
Joe Knapper
5ce77538d1 Fix tests now we dont do extra backlash moves 2026-03-12 14:53:55 +00:00
jaknapper
b43150c8bb Remove backlash correction from basic stack, as this is handled by move rel 2026-03-12 14:53:55 +00:00
Joe Knapper
ffb9a4d509 Add CChip workflow to scan_workflows 2026-03-12 14:53:55 +00:00
Julian Stirling
36111f4da3 Merge branch 'stream-rder' into 'v3'
Handle scan settings, then change stream, then pre-scan procedure when scanning

See merge request openflexure/openflexure-microscope-server!442
2026-03-11 11:52:03 +00:00
Julian Stirling
c4d0c0e9da Explicit header, text and bullet blocks rather than one HTML block in ui spec 2026-03-10 15:25:37 +00:00
Julian Stirling
0bfec5d046 Apply suggestions from code review of branch dynamic-ui
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-03-10 15:25:37 +00:00
Julian Stirling
eccf26851e Reintroduce recactive button state for background detect 2026-03-10 15:25:37 +00:00
Julian Stirling
4da05b1869 Move background detect settings into SlideScan 2026-03-10 15:25:37 +00:00
Julian Stirling
bfef998300 Move more of scan workflow UI into the server 2026-03-10 15:25:37 +00:00
Julian Stirling
ca21ab03c6 Tidy up server specified interface 2026-03-10 15:25:37 +00:00
Julian Stirling
9f2cde2275 Implement recursive Interface in vue 2026-03-10 15:25:36 +00:00
Joe Knapper
b0c9223b04 Move pre_scan and switch stream as late as possible 2026-03-09 18:53:39 +00:00
Joe Knapper
25c733a0c3 Apply suggestions from code review of branch check-setting-validation
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-07 18:14:22 +00:00
Joe Knapper
c9cc4e8468 Apply suggestions from code review of branch check-setting-validation
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-07 18:14:22 +00:00
Joe Knapper
99b9b0f3d6 Add limits to noise level, sample density and downsample 2026-03-07 18:14:22 +00:00
Joe Knapper
06f12973f4 Add limits to background detect and settling time settings 2026-03-07 18:14:22 +00:00
Joe Knapper
84f3032022 Update docstrings to explain lower brightness 2026-03-04 20:52:49 +00:00
jaknapper
e324014a81 Increase target exposure to 40% 2026-03-04 20:52:49 +00:00
Joe Knapper
75ca73f148 Decrease target brightness for both cameras as its pre-gamma 2026-03-04 20:52:49 +00:00
Julian Stirling
7e4ec53d78 Update how the application configuration is read for LabThings 0.0.17 2026-03-04 17:22:03 +00:00
Julian Stirling
45903f92a6 Create and mount application level data direcory rather than just a scan directory 2026-03-04 17:22:03 +00:00
jaknapper
7ca94497c7 Remove link from basecamera docstring 2026-03-03 15:32:59 +00:00
jaknapper
3020ab59f4 Fix typing for gamma_curve 2026-03-03 14:21:28 +00:00
jaknapper
b716013ef2 Fixed tuning file gamma key to gamma_curve 2026-03-03 14:03:17 +00:00
jaknapper
0173cf912f Add gamma_curve to metadata 2026-03-03 13:59:43 +00:00
Joe Knapper
5019884175 Camera metadata includes subclass name, and test 2026-03-03 13:23:30 +00:00
Julian Stirling
ac9852a7ad Merge branch 'less-stack-coersion' into 'v3'
Do less coersion for stacks now labthings validates settings.

See merge request openflexure/openflexure-microscope-server!516
2026-03-03 10:02:05 +00:00
Julian Stirling
0fdcb9b623 Merge branch 'equal-offsets' into 'v3'
Allow histo scans with equal dx and dy

See merge request openflexure/openflexure-microscope-server!517
2026-03-02 22:56:53 +00:00
Julian Stirling
1dce732a9a Always log dx and dy steps for Histoscan 2026-03-02 20:53:16 +00:00