jaknapper
8ba40832e0
Neighbour cutoff moved from autofocus.py to scan_planners.py
2025-06-23 14:13:08 +01:00
jaknapper
2a0de9122b
computed_field pydantic decorators
2025-06-23 14:04:30 +01:00
jaknapper
ee128ad91f
Rename to StackParams, move undershoots into Params
2025-06-23 13:47:14 +01:00
jaknapper
7cff0f8f44
StackInfo dataclass
2025-06-23 12:56:31 +01:00
jaknapper
8fea35a663
Remove duplicate docstring
2025-06-23 12:05:52 +01:00
jaknapper
333ea1b644
More input validation and comments
2025-06-23 12:02:00 +01:00
Joe Knapper
7a7547542c
Apply suggestions from code review of branch fast-stack
...
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-06-23 10:36:26 +00:00
jaknapper
f6cc7403e3
Update test_smart_spiral_first_few_pos() as smart stack chooses a different z_estimate
2025-06-20 15:01:09 +01:00
jaknapper
a001da0bcb
Restore closest_focus_site function
2025-06-20 15:01:09 +01:00
Joe Knapper
d1ed7ec797
Apply suggestions from code review of branch fast-stack
2025-06-20 11:26:58 +00:00
Joe Knapper
006d3b2a7b
Apply suggestions from code review of branch fast-stack
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-20 11:23:14 +00:00
jaknapper
ce33b94aab
Capture as a Raw dependency to use methods that aren't actions
2025-06-20 12:19:07 +01:00
jaknapper
6cf2f4d8c3
Typehints and docstrings in z_stack
2025-06-19 14:58:16 +01:00
jaknapper
00321d761d
Update docstring for nearby focus site
2025-06-19 14:57:27 +01:00
jaknapper
6acfbaefd6
Split up z stack function
2025-06-18 18:36:21 +01:00
jaknapper
c0677858a1
Scan planner finds lowest neighbour, not most recent
2025-06-18 15:40:21 +01:00
jaknapper
1d4bb7363f
Images to test control in GUI
2025-06-17 14:34:42 +01:00
jaknapper
e8c4103bb0
Remove unneeded logging
2025-06-17 14:34:42 +01:00
jaknapper
f363ec0eff
Docstring for test_stack
2025-06-17 14:34:42 +01:00
jaknapper
dbb65d55b5
Use scan autofocus dz
2025-06-17 14:34:42 +01:00
jaknapper
cdd603d751
Capture the full stack requested
2025-06-17 14:34:42 +01:00
jaknapper
0671f2d1be
Backlash correction as global, more comments
2025-06-17 14:34:42 +01:00
jaknapper
712f524414
Looping autofocus on failed smart stack
2025-06-17 14:34:42 +01:00
jaknapper
3e164102f6
A stack that tests whether the sharpest image is towards the middle
2025-06-17 14:34:42 +01:00
Julian Stirling
67e8b19603
Merge branch 'remove-nav-spinners-firefox' into 'v3'
...
Remove numerical input spinners for x,y,z settings in Firefox
See merge request openflexure/openflexure-microscope-server!288
2025-06-16 12:15:42 +00:00
Julian Stirling
c43b7cb8b4
Merge branch 'more-checkers' into 'v3'
...
Enable more lint checkers
See merge request openflexure/openflexure-microscope-server!290
2025-06-12 11:56:29 +00:00
Julian Stirling
37bb9635ad
Apply 2 suggestion(s) to 2 file(s)
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-12 10:29:54 +00:00
Julian Stirling
3019e13c80
Add commented out code check to linters
2025-06-11 23:40:49 +01:00
Julian Stirling
86dad84a5a
Merge branch 'correct-alpha-version-changelog' into 'v3'
...
Correct version name in change beta1 -> alpha1
See merge request openflexure/openflexure-microscope-server!291
2025-06-11 12:50:12 +00:00
Julian Stirling
fe26a299d5
Correct version name in change beta1 -> alpha1
2025-06-11 10:08:16 +00:00
Julian Stirling
04832892cc
Chnge docstring tester from Doc to D as Doc has no effect
2025-06-10 16:07:49 +01:00
Julian Stirling
1c54d25212
Add ruff checking for unnecessary comprehensions
2025-06-10 16:07:49 +01:00
Julian Stirling
2050c2dc7c
Add return checker, needed 4 fixes
2025-06-10 16:07:48 +01:00
Julian Stirling
3f0564f253
Turning on more lint checkers, warning for cameras that ignore resolution setting
2025-06-10 16:07:48 +01:00
Julian Stirling
cf80120572
Remove numerical input spinners for x,y,z settings in Firefox
...
Chrome/Safari/Edge etc are all set already by the
`.numeric-setting-line-input::-webkit-outer-spin-button`
and
`.numeric-setting-line-input::-webkit-inner-spin-button`
but firefox needs a different line set on the input itself see:
https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp
2025-06-10 08:47:23 +01:00
Julian Stirling
6c6356bf38
Merge branch 'final-changes-for-v3.0.0-alpha1' into 'v3'
...
Update depedencies and changelog prior to v3.0.0-alpha1 release
Closes #398
See merge request openflexure/openflexure-microscope-server!287
2025-06-09 15:38:56 +00:00
Julian Stirling
e223405444
Tweak changelog and add MR list
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
Co-authored-by: William Wadsworth <w.j.wadsworth@bath.ac.uk>
2025-06-09 16:11:19 +01:00
Julian Stirling
0457978048
Update depedencies and changelog priort to v3.0.0-alpha1 release
...
Closes #398
2025-06-09 15:39:26 +01:00
Joe Knapper
ae2ec1864f
Merge branch 'config-scan-dir' into 'v3'
...
Add scan directory to json config
Closes #393
See merge request openflexure/openflexure-microscope-server!283
2025-06-09 13:42:27 +00:00
Julian Stirling
80b6fd088d
Merge branch 'reverse_csm_order' into 'v3'
...
Swapped the order of CSM so y axis is completed first
See merge request openflexure/openflexure-microscope-server!285
2025-06-09 13:39:06 +00:00
Chish36
7eed48ed26
Swapped the order of CSM so y axis is completed first
2025-06-09 13:39:06 +00:00
Julian Stirling
37960a4cc2
Merge branch 'Server-versioning' into 'v3'
...
Use same version number for server and webapp, add CI check
Closes #382
See merge request openflexure/openflexure-microscope-server!286
2025-06-09 12:32:41 +00:00
Julian Stirling
7fdb5f37ba
Apply 4 suggestion(s) to 3 file(s)
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-09 12:08:25 +00:00
Julian Stirling
c79184a6d9
Use same version number for server and webapp, add CI check
...
- Check webapp and server have same version number
- Use `genversion` on build to create javascript file with version string
from pyproject.toml
- Expose the version number in the js interface
- Correct format of current of alpha version string because javascript complains
Closes #382
2025-06-09 12:13:15 +01:00
Julian Stirling
24b6eb74a1
Merge branch 'update-version-for-alpha1' into 'v3'
...
Update labthings-api dep and also the version number for alpha release
See merge request openflexure/openflexure-microscope-server!284
2025-06-06 13:38:19 +00:00
Julian Stirling
2aa7d0f6be
Update labthings-api dep and also the version number for alpha release
2025-06-06 13:09:04 +01:00
Julian Stirling
60b2fda385
Merge branch 'custom-at' into 'v3'
...
Custom `from_index()` function in webapp for backwards compatibility before javascrpt `at()`
Closes #396
See merge request openflexure/openflexure-microscope-server!280
2025-06-06 12:00:05 +00:00
Julian Stirling
3a1c3bb026
Ensure server and config vars always defined before fallback server is started
2025-06-06 12:42:21 +01:00
Julian Stirling
b45f5651ab
Add scan directory to json config
2025-06-06 12:21:51 +01:00
Joe Knapper
efb3b12819
Replace .at() in action button with custom .from_index()
2025-06-06 12:10:31 +01:00