Commit graph

3806 commits

Author SHA1 Message Date
Julian Stirling
f432247446 Fix typos during refactor caught by CI 2025-11-11 11:20:08 +00:00
Julian Stirling
982c55905c Update default exposure in picam and defaul LST values in tuning files, and set default colour gains from LST 2025-11-11 11:20:08 +00:00
Julian Stirling
c0362ee8dd Make picamera tests compatible with updates 2025-11-11 11:20:08 +00:00
Julian Stirling
13d3871059 Add testing for loading the tuning files in the normal test suite now not tied to picamera 2025-11-11 11:20:08 +00:00
Julian Stirling
6763845e38 Let the tuning file utils handle lens shading table manipulation. 2025-11-11 11:20:08 +00:00
Julian Stirling
ec16cc17f8 Update tuning file utils for our own tuning files. 2025-11-11 11:20:07 +00:00
Julian Stirling
f74a51866a Adjust tuning files to have adaptive algorithms turned off. 2025-11-11 11:20:07 +00:00
Julian Stirling
01a883e95c Reset CCM resets to the CCM in the default tuning file. 2025-11-11 11:20:07 +00:00
Julian Stirling
cec6f4af73 Load tuning files in without using Picamera2 2025-11-11 11:20:07 +00:00
Julian Stirling
a2900b0c16 Move tuning files into vc4 folder in case we support pisp (Pi5) later and update README 2025-11-11 11:20:07 +00:00
jaknapper
1b14990b76 Stop overwriting CCM in full recalibrate
Fix typo
2025-11-11 11:20:06 +00:00
jaknapper
ac08462405 Attempt to load custom tuning file first
Most likely want to be in try except
2025-11-11 11:20:06 +00:00
jaknapper
e3a7252d78 Example custom tuning files
imx219 has been tested briefly

imx477 untested, based on imx219 with custom ccm
2025-11-11 11:20:06 +00:00
jaknapper
b47413100e README walking through the settings in the tuning file, and initial thoughts 2025-11-11 11:20:06 +00:00
Julian Stirling
c89a2d24c2 Merge branch 'vue-matrix-display' into 'v3'
A matrix display component with copy button that copys as code.

See merge request openflexure/openflexure-microscope-server!436
2025-11-10 13:50:39 +00:00
Julian Stirling
89f318f982 All CSM details in a list, ensure details only show when defined, disable download option if calibration undefined 2025-11-10 12:54:26 +00:00
Julian Stirling
a267b82311 Improve copy button's style in dark mode 2025-11-10 12:33:11 +00:00
Julian Stirling
045410b2e6 A matrix display component with copy button that copys as code. 2025-11-10 12:33:11 +00:00
Julian Stirling
5fd16bd113 Merge branch 'skip-vs-next-in-cal' into 'v3'
Skip buttons on calibration wizard

Closes #403

See merge request openflexure/openflexure-microscope-server!433
2025-11-10 12:26:39 +00:00
Julian Stirling
1f22346ce6 Camera calibration step in wizard skip until calibrated. 2025-11-05 09:05:24 +00:00
Julian Stirling
e1172248b0 Camera stage mapping step in wizard says skip until complete. 2025-11-05 09:05:24 +00:00
Julian Stirling
e71a25733b Fix CSM settings from erroring
CSM settings was erroring due to reading properties that don't exist and calculating
using nulls.
2025-11-05 09:05:17 +00:00
Julian Stirling
40b3d993ee Merge branch 'ongoing-scan-data-warning' into 'v3'
Stop reading scan_data.json for ongoing scan.

Closes #583

See merge request openflexure/openflexure-microscope-server!426
2025-11-04 22:15:59 +00:00
Julian Stirling
cd5d74b5e6 Add tests for not reading ongoing scan data 2025-11-04 18:50:17 +00:00
Julian Stirling
093bbcfd72 Report duration as ongoing for ongoing scans 2025-11-04 18:50:17 +00:00
Julian Stirling
ff70e44858 Don't read json data of ongoing scans 2025-11-04 18:50:17 +00:00
Julian Stirling
46e9070a33 Rename ScanListData to ScanListInfo as it containts ScanInfo not ScanData objects 2025-11-04 18:50:17 +00:00
Julian Stirling
c2b8706fb5 Merge branch 'update-js-toolchain' into 'v3'
Update js toolchain

See merge request openflexure/openflexure-microscope-server!431
2025-11-04 17:10:28 +00:00
Julian Stirling
7ea5c74626 Remove --openssl-legacy-provider node option 2025-11-03 11:33:35 +00:00
Julian Stirling
65db119791 Update axios, less, material-symbols, and uikit; fix to osd scan viewer 2025-11-03 11:33:35 +00:00
Julian Stirling
1601bdd123 Let prettier change a load of things because new prettier has new rules :( 2025-11-03 11:33:33 +00:00
Julian Stirling
a05156407b Update JS toolchain to use newer core-js and vue-cli 2025-11-03 11:28:51 +00:00
Julian Stirling
0b4c90ed9d Merge branch 'local-storage-in-store' into 'v3'
Local storage in store

See merge request openflexure/openflexure-microscope-server!430
2025-11-03 11:27:25 +00:00
Julian Stirling
97fa0b03b2 Move all other local storage into the store. 2025-11-02 13:16:44 +00:00
Julian Stirling
e9eec20027 Store can optionally (per key) read/load from local storage tested with appTheme 2025-11-02 12:07:24 +00:00
Julian Stirling
d4e9d4c348 Remove unused syncDataWithLocalStorage.js 2025-11-02 12:06:10 +00:00
Julian Stirling
2bc8955f9c Merge branch 'split-action-button-methods' into 'v3'
Split up the action button methods for monitoring and starting a task

Closes #442

See merge request openflexure/openflexure-microscope-server!428
2025-10-30 20:37:03 +00:00
Julian Stirling
d7e406113e Merge branch 'dont-mutate-tuning-files' into 'v3'
Update the picamera tuning file utilities to not modify the dictionaries in place

Closes #474 and #579

See merge request openflexure/openflexure-microscope-server!418
2025-10-30 13:28:39 +00:00
Julian Stirling
830929a693 Split up the action button methods for monitoring and starting a task
Previously the start task method of action button handled awaiting
polling and resetting variables when the task completes. If an ongoing
task was found polling was started so that logs could be communicated
but no clean up happened when the task finished. This has been split
up and the checks for ongoing tasks improved so they also clean up
after ongoing tasks finish.

Closes #442
2025-10-30 10:28:12 +00:00
Julian Stirling
a1ae2c516b Merge branch 'scan-pagination' into 'v3'
Add pagination to scan list

Closes #368

See merge request openflexure/openflexure-microscope-server!421
2025-10-29 13:53:40 +00:00
Julian Stirling
3da1b8a9c3 Add event to scroll to top on scan page change 2025-10-29 13:29:36 +00:00
jaknapper
cd5d5149a3 Add pagination to scan list 2025-10-29 13:18:25 +00:00
Julian Stirling
9a01f74cfd Update picamera test coverage data 2025-10-29 13:15:16 +00:00
Julian Stirling
7d583dcf94 Apply suggestions from code review of branch dont-mutate-tuning-files
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-10-29 13:08:10 +00:00
Julian Stirling
e9c912d910 Add unit test to check tuning is persistent after picamera calibration and modifying LST 2025-10-29 13:08:10 +00:00
Julian Stirling
ee2ef848b1 Add native implementation of find_tuning_algo 2025-10-29 13:08:10 +00:00
Julian Stirling
2010e8eeb2 Further improve picamera tests to reuse fixtures and context managers. 2025-10-29 13:08:10 +00:00
Julian Stirling
995a464ba2 Rearrange Picamera tests to start using server context manager. 2025-10-29 13:08:10 +00:00
Julian Stirling
815b112069 Update the picamera tuning file utilities to not modify the dictionaries in place 2025-10-29 13:08:10 +00:00
Julian Stirling
93ff7999f5 Merge branch 'deduplicate-tabs-and-scroll' into 'v3'
De-duplicate HTML for tab content, add way for tab to request scroll to top

See merge request openflexure/openflexure-microscope-server!424
2025-10-29 12:51:49 +00:00