Repository navigation
Commit 8a69f89
authored
Update docs (#1192)
* Bump copyright year to 2026 and cleanup
Update copyright headers across the codebase from 2025 to 2026. Also apply a set of small, mainly non-functional cleanups: reformat long lines and comprehensions, normalize dict/list formatting, add missing trailing commas, tidy imports and string quoting in menus, and minor expression simplifications (e.g. tiling overlay). Several test package __init__.py files were added and many tests were updated accordingly. No major logic changes intended.
* Update acquiring data docs and add images
Rename beginner.rst to acquiring_data.rst and refactor the acquiring-data guide: simplify environment/launch instructions, add guidance for Virtual Devices (synthetic hardware), update image paths, and clarify stage control wording. Add multiple UI screenshots to docs/source/images (MainApp, Camera/Channels/Stage tabs, channel selector images, configurator, etc.). Also add the "mss" package to pyproject.toml dependencies used for the docs.
* Revise docs structure and add capture GUI tool
Reorganize and expand the documentation and tooling for the getting-started flow and documentation screenshots. Add docs/AGENTS.md with authoring guidelines and expectations for contributors and automated agents. Replace the old docs/capture_gui.py with an executable, CLI-driven capture tool (manifest/grouping, settle/delay options, configurator support, robust context build/teardown, and reusable capture specs) that writes screenshots to docs/source/images. Restructure Getting Started content: remove the old quick_start page and legacy software_installation, add new pages for minimum system requirements, software installation (strategies: Conda/venv/uv/GitHub), launching navigate, and configuring navigate; also move and edit the power management page into the getting-started section. Remove obsolete images and update references in software_configuration.rst accordingly. These changes improve doc organization, clarity for new users, and reproducible screenshot capture for docs maintenance.
* Capture combobox dropdowns; add sensor/ROI docs
Improve screenshot capture and refresh docs. Make settle_window ensure the Tk root is visible/topmost before capturing. Add _capture_combobox_dropdown helper and refactor existing combobox capture to use it; add new capture runners for sensor-mode and ROI-definition and register them in CAPTURES. Update getting-started RST to center-align images, fix image paths, and add new sensor-mode.png and ROI-definition.png (and refresh several other doc screenshots). These changes make dropdown screenshots more reliable and update the documentation visuals.
* Refactor docs images and capture GUI
Move and consolidate documentation screenshots, update rst references, and enhance the GUI capture tooling. AGENTS.md gains a "Hardware Docs Conventions" section; many beginner images were removed from their old folder and added under docs/source/images with updated paths in acquiring_data.rst. capture_gui.py was extended with helpers to prepare windows for screenshots (suppress hover tooltips, settle geometry), robust combobox/popdown handling, mode/state helpers, many new capture routines for acquiring-data screenshots, and new entries added to the CAPTURES list. Also small textual edits in camera.rst and a change to pyproject.toml.
* docs: reflow and clarify file_formats.rst
Reflow and clean up the Supported File Formats docs for readability and consistency. Added a section anchor and a File Types subsection, normalized RST directives (note::), and introduced subsection adornments (~) for TIFF/BigDataViewer/OME-Zarr blocks. Minor copy edits: reworded timing line to "Median write time reported in milliseconds", updated the OME-Zarr link text to OME-NGFF 0.4, and fixed hard drive size formatting ("7680 GB"). These changes are purely documentation/formatting to improve clarity.
* Restructure docs: contributing & hardware
Reorganize documentation layout to separate contributor and user content. Move advanced hardware/how-to pages into a new 'Hardware Integration' section under contributing; add hardware_communication_guidelines, hardware_integration index, code_of_conduct, and code_quality pages; replace legacy intermediate how-to with a new Smart Acquisition Routines guide; update contributing guidelines to reference the new pages and streamline contribution workflow; add developer_install anchor and update docs index to include the new entries. Removed obsolete 03_i_want_to index files and relocated add_new_device/advanced files to the contributing hardware path.
* Add feature GUI captures and reorganize docs images
Add numerous capture helper functions to docs/capture_gui.py for feature-list and multiposition examples and register corresponding CaptureSpec entries. Rework docs/source/01_getting_started/07_smart_routines.rst to use the new image locations and clarify the walkthrough text. Update docs/source/conf.py to enable the todo extension (disabled by default). Remove legacy images from docs/source/01_getting_started/... and add consolidated images and several debug screenshots under docs/source/images/.
* Add UI walkthrough docs and camera menu
Add a multi-page User Interface Walkthrough (split into six new rst pages and images) and update the main walkthrough to a toctree. Register the new "Camera Offset and Variance Maps" menu entry in menus.py (and remove a redundant add_command). Add daheng camera to autodoc_mock_imports so docs build, and add smart_microscope_mode: True to the example experiment.yml. Also adjust a camera-settings unit test to safely read exposure_time with a fallback default.
* Remove photometrics dependency from pyproject
Remove duplicate project.optional-depenencies entry for photometrics...
* Fix tests.
MultiPositions in the experiment.yml file is now obsolete.
Accidentally appended smart_microscope_mode when discussing code, and forgot to remove it. Likewise, same happened with the test_camera_settings file...
* Add UI screenshot capture tooling and images
Extend docs capture tooling and update user guide images: capture_gui.py gains many helper functions for popup/notebook captures, new per-frame capture routines, and numerous CaptureSpec entries to generate UI screenshots. Add a large set of new UI images (docs/source/images/*), remove obsolete debug images, and update multiple RST pages to reference the new screenshots. Also add a developer concepts doc and small project metadata/index tweaks to include the new assets.
* Add GUI capture functions, docs and images
Add screenshot capture handlers to docs/capture_gui.py (histogram/intensity/metrics/render/MIP/waveform frames and preview population), including numpy/math usage and new CaptureSpec entries for automated doc screenshots. Add corresponding UI images and update multiple RST docs to reference new frames and improve configuration/setup/help text. Fix WaveformPopupController to create the advanced popup with a Tk-backed parent (self.view.popup) and add a regression test ensuring the popup master is the proper widget.
* Update README, hardware docs, and template loop
Revamp project README with new header, badges, documentation links, OS note, consolidated install instructions (pip install navigate-micro), first-launch steps, developer source install, CLI argument reference, and issue link. Rename and rework hardware integration docs to "Adding New Hardware", clarify scope and add a toctree for subpages. Adjust Sphinx template in custom_module.rst to render module basenames (use item.split('.')[-1]) when listing modules.
* Make waveform_popup tests more robust
Harden waveform_popup unit tests by handling optional attributes and avoiding leaks between tests. Add a _MISSING sentinel and capture original camera_setting_controller and model via getattr, then mock them inside a try/finally and restore or delete them as appropriate. Preserve the real view widget.set (mocking only the setter) to avoid replacing the whole view and leaking a mocked Tk parent. Also update galvo name strings and assertions accordingly. These changes prevent test interference and improve reliability.1 parent 629825c commit 8a69f89
77 files changed
Lines changed: 2604 additions & 919 deletions
File tree
- docs
- source
- 01_getting_started
- 02_user_guide
- 03_user_interface_walkthrough
- 04_microscope_setup
- 01_software_configuration
- 02_multiple_cameras
- 03_snr
- 03_contributing
- 03_software_architecture
- 04_feature_container
- 05_restapi
- 06_plugin
- 07_hardware_integration
- 04_faq
- issues
- troubleshooting
- 05_reference
- implementations
- _templates
- images
- test/controller/sub_controllers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
8 | 5 | | |
9 | 6 | | |
| 7 | + | |
10 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
15 | | - | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
22 | 36 | | |
23 | 37 | | |
24 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
25 | 96 | | |
26 | 97 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 98 | + | |
| 99 | + | |
0 commit comments