Commit graph

1082 commits

Author SHA1 Message Date
Julian Stirling
11379d8fa7 Allow colour to be set for simulation sample. 2026-01-12 16:17:10 +00:00
Julian Stirling
7b9f4aa202 Expose sample density and sample repeat for simulation camera to the UI in camera settings rather than as init options 2026-01-12 16:17:10 +00:00
Julian Stirling
159e2d14ab Unify canvas and sample shape for simulation, set flag for if repeating. 2026-01-12 16:17:10 +00:00
Julian Stirling
99f7802195 Create sprites upsampled, before downsampling so they hhave a smoother edge interpolation 2026-01-12 16:17:10 +00:00
Julian Stirling
fa249a0f24 Calculate simulation images downsampled for speed 2026-01-12 16:17:10 +00:00
Julian Stirling
06cab8a6a4 Use type[] not Type[] in typehints, and add clarification comment. 2026-01-12 15:28:10 +00:00
Julian Stirling
560ca6e9fe Tweak a docstring as the variables out of date 2026-01-12 15:28:10 +00:00
Julian Stirling
3db83534e8 Update for how Labthings-Fastapi 0.0.14 impements the fallback server 2026-01-09 17:43:11 +00:00
Julian Stirling
c1ad445517 Fix some final type issues in Autofocus 2026-01-09 15:18:06 +00:00
Julian Stirling
141ccc06c1 Some minor type fixes 2026-01-09 15:18:05 +00:00
Julian Stirling
58aa3df587 Fix a number of issues with camera_stage_mapping 2026-01-09 15:18:05 +00:00
Julian Stirling
18e89aa148 More typing fixes 2026-01-09 15:18:05 +00:00
Julian Stirling
8890590551 Type fix stitching 2026-01-09 15:18:05 +00:00
Julian Stirling
2e03ad28c4 Type fix scan directories 2026-01-09 15:18:05 +00:00
Julian Stirling
2701576a2c Properly type the generic Background Detector class 2026-01-09 15:18:05 +00:00
Julian Stirling
7abede0db0 Fix type errors in remaining Things 2026-01-09 15:18:05 +00:00
Julian Stirling
99eee2e912 Fix camera type issues 2026-01-09 15:18:05 +00:00
Julian Stirling
9976c5cb84 Fix stage typehints 2026-01-09 15:18:05 +00:00
Julian Stirling
afeca2bbed Fix picamera tuning setting type 2026-01-09 15:18:05 +00:00
Julian Stirling
5df5651fc2 Adjust name for a number of propery/setting setters 2026-01-09 15:18:05 +00:00
Julian Stirling
26d395f05d Type fixes for system Thng 2026-01-09 15:18:04 +00:00
Julian Stirling
51512f36f7 Unify UI for action_button_for and property_control_for 2026-01-09 15:18:04 +00:00
Julian Stirling
afbc00acef Improve __enter__ typing for things 2026-01-09 15:18:04 +00:00
Julian Stirling
d52548cc13 Improve camera buffer typing 2026-01-09 15:18:04 +00:00
Julian Stirling
e0c63ab354 Unify camera capute signatures 2026-01-09 15:18:04 +00:00
Julian Stirling
dcf329f1c5 Fix typing in stage_measure 2026-01-09 15:18:04 +00:00
Julian Stirling
85671e897e Remove vesitgial code from utilities and fix types 2026-01-09 15:18:04 +00:00
Julian Stirling
4060c06a2b Assorted type fixes 2026-01-09 15:18:04 +00:00
Julian Stirling
99f3d2d311 Start fixing some issues found by MyPy 2026-01-09 15:18:04 +00:00
Julian Stirling
4ad1fff656 Remove final dependencies 2025-12-17 15:52:03 +00:00
Julian Stirling
be5f9630ca A fond farewell to the last of the InvocationLoggers 2025-12-17 15:52:03 +00:00
Julian Stirling
510a44dd17 Remove all cancel hooks from smart scan and stitching 2025-12-17 14:04:37 +00:00
Julian Stirling
5b15e2d34c Fix camera stage mapping logging 2025-12-17 11:20:41 +00:00
Julian Stirling
e1dfceb0bd Remove one final invocation logger dep from autofocus 2025-12-17 11:20:41 +00:00
Julian Stirling
09336c9cb5 Apply suggestions from code review of branch continue-removing-deps
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-12-17 10:08:47 +00:00
Julian Stirling
7f8fb623ef Remove deps from stage_measure 2025-12-16 17:27:22 +00:00
Julian Stirling
189e82e8dc Remove deps from autofocus 2025-12-16 17:27:22 +00:00
Julian Stirling
4a327cc901 Remove deps from camera_stage_mapping 2025-12-16 16:24:04 +00:00
Julian Stirling
4a72521531 Remove deps from system thing 2025-12-16 14:57:13 +00:00
Julian Stirling
426178ba31 Remove dependencies from stages 2025-12-16 14:57:12 +00:00
Julian Stirling
4b845fcf18 Remove dependencies from camera 2025-12-16 14:22:31 +00:00
Julian Stirling
ddc81f9c17 Apply suggestions from code review of branch update-for-labthings0.0.12
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-12-16 13:32:57 +00:00
Julian Stirling
a67afdf21f Fix bug in simulation frame timing which may be affecting integration test 2025-12-16 13:32:57 +00:00
Julian Stirling
942e9e5024 Fix type for ROM calibrated_range 2025-12-16 13:32:57 +00:00
Julian Stirling
baf0ff9a11 Updating for changes related to NotConnectedToServerErrors 2025-12-15 17:18:30 +00:00
Julian Stirling
dec90f5b6b Update legacy_api.py test_sangaboard and test_server_cli so tests pass for labthings-fastapi 0.0.12 2025-12-14 20:53:33 +00:00
Julian Stirling
cfbb7cf7f9 Start fixing tests. This involves further blocking portal changes.
This will need PR 225 of labthings-fastapi to be merged to run.
2025-12-14 19:21:06 +00:00
Julian Stirling
9ef417971f Remove a load more /names/ 2025-12-14 18:23:33 +00:00
Julian Stirling
e7f669cb56 No blocking portals 2025-12-14 18:23:33 +00:00
Julian Stirling
ca3f339cbe Simulation camera get dummy stage from thing_slot 2025-12-14 18:23:33 +00:00