Skip to content

Commit a5e972f

Browse files
Merge pull request #855 from TheDeanLab/uprightASLM_documentation
Updated Upright ASLM documentation
2 parents 8097055 + 8005576 commit a5e972f

34 files changed

+836
-428
lines changed

docs/source/api.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
API Reference
1+
API
22
=============
33

44
.. autosummary::

docs/source/implementations/ASLM.png

2.9 MB
Loading
2.28 MB
Loading
3.57 MB
Loading
3.75 MB
Loading
2.83 MB
Loading

docs/source/implementations/implementations.rst

+722
Large diffs are not rendered by default.
2.69 MB
Loading

docs/source/implementations/robot.png

1.05 MB
Loading
2.02 MB
Loading
4.59 MB
Loading

docs/source/index.rst

+8-2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ technology developers.
4545
:maxdepth: 2
4646

4747
quick_start
48+
implementations/implementations
4849
software_installation
4950
i_want_to
5051

@@ -56,7 +57,6 @@ technology developers.
5657
user_guide/gui_walkthrough
5758
user_guide/setup_microscope
5859
user_guide/acquiring_home
59-
user_guide/REST-apis/ilastik_segmentation
6060
user_guide/case_studies/case_studies_home
6161

6262
.. toctree::
@@ -66,9 +66,15 @@ technology developers.
6666
contributing/software_architecture
6767
contributing/contributing_guidelines
6868
contributing/feature_container
69+
user_guide/restapi
6970
plugin/plugin_home
71+
72+
.. toctree::
73+
:caption: Reference
74+
:maxdepth: 2
75+
7076
api
71-
genindex
77+
7278

7379
**Authors**
7480
============

docs/source/user_guide/acquiring_home.rst

-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ Acquiring Data
66
:maxdepth: 2
77

88
acquiring_guide
9-
REST-apis/ilastik_segmentation
109
features

docs/source/user_guide/case_studies/acquire_exASLM.rst

+70-47
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,32 @@
22
Imaging on an Upright ASLM
33
==========================
44

5-
This is a case study in using the software to image with an upright ASLM microscope. The upright ASLM equipped with an ASI FTP2000 and an ASLM microscope in an upright configuration. This microscope configuration allows for imaging across large scan ranges and imaging during scanning which we term constant velocity acquisition. This tutorial aims to show how it is possible to image the sample while imaging in both ASLM mode and normal lightsheet mode.
5+
This case study outlines how to use **navigate** for imaging on an upright ASLM microscope.
6+
Here, the specimen is positioned with an Applied Scientific Instrumentation FTP-2000 stage, which
7+
permits imaging samples with large lateral extents. Moreover, the stage can be moved at a constant
8+
velocity during imaging, which allows for acquisition of data without delays introduced by stage communication protocols and
9+
settling times.
610

11+
To achieve this, **navigate** receives a `trigger signal <http://www.asiimaging.com/docs/scan_module>`_
12+
from the stage controller to start image acquisition once
13+
the stage has reached the desired position and velocity. Thereafter, **navigate** acquires images
14+
at a constant rate until the stage has reached the end position. This mode of acquisition is termed
15+
"Constant Velocity Acquisition", and is implemented as a feature in **navigate**.
716

8-
Loading and finding the sample
9-
==============================
10-
11-
#. Load the sample on the microscope.
12-
#. Select "Continuous Scan" from the dropdown next to the :guilabel:`Acquire` button.
13-
Press :guilabel:`Acquire`. This will launch a live acquisition mode.
14-
#. Scroll around with the stage either via joystick or using the controls in the
15-
:guilabel:`Stage Control` tab until the sample comes into view.
16-
#. Set the resonant galvo :guilabel:`Galvo 0` to 0.3 to mitigate any striping artifacts
17-
during imaging.
18-
19-
.. z_stack:
20-
21-
Imaging a Z-Stack using Stop and Settle Mode
22-
============================================
23-
24-
#. Select :guilabel:`Continuous Scan` from the dropdown next to the :guilabel:`Acquire` button.
25-
Press :guilabel:`Acquire`. This will launch a live acquisition mode.
26-
#. Using the :guilabel:`Stage Control`, go to a shallow z-position in the sample.
27-
Under the :guilabel:`Channels` tab, in :guilabel:`Stack Acquisition Settings (um)`
28-
press :guilabel:`Set Start Pos`.
29-
#. Go to a deep z-position in the sample. Press :guilabel:`Set End Pos`.
30-
#. Make sure :guilabel:`Set Foc` is ``0`` for both the :guilabel:`Set Start Pos` and
31-
:guilabel:`End Pos`.
32-
#. Type the desired step size (units um) in the :guilabel:`Step Size` dialog box in
33-
:guilabel:`Stack Acquisition Settings (um)`. Step size can only be in increments of
34-
0.1 and the minimum is 0.2.
35-
#. Select the number of color channels needed imaging in the :guilabel:`Channel tab`
36-
under :guilabel:`Channel Settings`. Select the correct filter for each channel by
37-
using the dropdown menu after each channel under the :guilabel:`Filter`.
38-
#. Change the exposure time by changing number in the :guilabel:`Exp. Time (ms)` for
39-
each channel. For the ORCA Lightning camera using ASLM mode, the minimum frame rate
40-
is 75 ms and the maximum is 100 ms.
41-
#. Set :guilabel:`Interval` to be ``1.0`` for each channel.
42-
#. Set :guilabel:`Defocus` to be ``0`` for each channel.
43-
#. Select "Z-Stack" from the dropdown next to the :guilabel:`Acquire` button.
44-
Press :guilabel:`Acquire`.
45-
#. Enter the sample parameters in the :guilabel:`File Saving Dialog` that pops up.
46-
Press :guilabel:`Acquire Data`.
17+
Furthermore, since the stage moves at a 45 degree angle relative to the microscope detection axis,
18+
computational shearing of the data is necessary. For large data sets, this can become computationally challenging and
19+
unnecessarily results in greater data overhead owing to empty space introduced in the data.
20+
To avoid this, we also provide a guide on how to perform two axis stage
21+
scanning which removes the need for computational shearing.
22+
More information about this microscope and this method, which we refer to as mechanical shearing, can be found
23+
`here <https://www.biorxiv.org/content/10.1101/2024.04.10.588892v1>`_.
4724

4825
.. Constant Velocity Acquisition:
4926
5027
Imaging a Z-Stack using Constant Velocity Acquisition Mode
5128
==========================================================
5229

53-
#. Select "Continuous Scan" from the dropdown next to the :guilabel:`Acquire` button.
30+
#. Select `Continuous Scan` from the dropdown next to the :guilabel:`Acquire` button.
5431
Press :guilabel:`Acquire`. This will launch a live acquisition mode.
5532
#. Using the :guilabel:`Stage Control`, go to a shallow Z-position in the sample. Under
5633
the :guilabel:`Channels` tab, in :guilabel:`Stack Acquisition Settings (um)` press
@@ -59,23 +36,69 @@ Imaging a Z-Stack using Constant Velocity Acquisition Mode
5936
#. Make sure :guilabel:`Set Foc` is ``0`` for both the :guilabel:`Set Start Pos` and
6037
:guilabel:`End Pos`.
6138
#. Type the desired step size (units um) in the :guilabel:`Step Size` dialog box in
62-
:guilabel:`Stack Acquisition Settings (um)`. Step size can only be increments of
63-
0.1 and the minimum is 0.2.
39+
:guilabel:`Stack Acquisition Settings (um)`. Note: The step size represents the
40+
optical step size. The velocity at which the stage moves during imaging accounts for the shear angle.
6441
#. Select the number of color channels needed imaging in the :guilabel:`Channel tab`
6542
under :guilabel:`Channel Settings`. Select the correct filter for each channel by
6643
using the dropdown menu after each channel under the :guilabel:`Filter`.
6744
#. Change the exposure time by changing number in the :guilabel:`Exp. Time (ms)` for
68-
each channel. For the ORCA Lightning camera using ASLM mode, the minimum frame rate
69-
is 75 ms and the maximum is 100 ms.
45+
each channel. For the ORCA Lightning camera using ASLM mode, the maximum exposure time is 100 ms.
7046
#. Set :guilabel:`Interval` to be ``1.0`` for each channel.
71-
#. Set :guilabel:`Defocus` to be `0` for each channel.
47+
#. Set :guilabel:`Defocus` to be ``0`` for each channel.
7248
#. Select "Constant Velocity Acquisition" from the dropdown next to the
7349
:guilabel:`Acquire` button. Press :guilabel:`Acquire`.
7450
#. Enter the sample parameters in the :guilabel:`File Saving Dialog` that pops up. Make
7551
sure to save to SSD drive or change buffer size in configuration file to prevent any
76-
overwriting of images. Then Press :guilabel:`Acquire Data`.
52+
overwriting of images. Then Press :guilabel:`Acquire Data`. The stage will move from its current position to beyond the start position.
53+
The stage then ramps up to the desired stage velocity as the stage reaches the start position.
54+
Once the stage is at the start position, the stage will send an external trigger which
55+
is received by the DAQ to begin image acquisition. The number of frames required for
56+
each channel scan is precalculated from the stage velocity, scan distance, and single
57+
frame acquisition time. Acquisition will automatically stop when the desired number of
58+
frames are acquired which also corresponds to when the stage reaches its end position.
59+
For multichannel scans, the stage returns to the start position and the process repeats until all channels are acquired.
7760
#. To change frame buffer size, in the :guilabel:`CameraParameters` section in the
7861
:guilabel:`experiment.yaml` file in your local navigate directory in the
7962
:guilabel:`config` folder, change :guilabel:`databuffer_size` to desired number of
8063
frames. Make sure the size of the desired number of frames isn't above the available
8164
RAM in the computer.
65+
66+
.. z_stack:
67+
68+
Imaging a Z-Stack using two-axis scanning
69+
============================================
70+
71+
#. Select `Continuous Scan` from the dropdown next to the :guilabel:`Acquire` button.
72+
Press :guilabel:`Acquire`. This will launch a live acquisition mode.
73+
#. Using the :guilabel:`Stage Control` tab, go to a shallow z-position in the sample.
74+
Under the :guilabel:`Channels` tab, in :guilabel:`Stack Acquisition Settings (um)`
75+
press :guilabel:`Set Start Pos`.
76+
#. Using the :guilabel:`Stage Control` tab, Go to a deep z-position in the sample.
77+
#. Using the :guilabel:`Stage Control` tab, move the :guilabel:`Focus` button to match
78+
the z-axis scan distance. Make sure that the focus moves in the same direction as the z-scan.
79+
80+
.. note::
81+
82+
One should pay attention to both the magnitude and the direction of the scan in both ``Z`` and ``F``.
83+
Scanning in ``F`` is accompanied with risk of crashing the stage into the objective. Importantly, the
84+
direction of travel varies depending upon the manufacturer.
85+
86+
#. Move Press :guilabel:`Set End Pos`.
87+
#. Make sure :guilabel:`Set Foc` is the same range as :guilabel:`Set Start Pos` and
88+
:guilabel:`End Pos`.
89+
#. Type the desired step size (units um) in the :guilabel:`Step Size` dialog box in
90+
:guilabel:`Stack Acquisition Settings (um)`.
91+
#. Select the number of color channels needed imaging in the :guilabel:`Channel tab`
92+
under :guilabel:`Channel Settings`. Select the correct filter for each channel by
93+
using the dropdown menu after each channel under the :guilabel:`Filter`.
94+
#. Change the exposure time by changing number in the :guilabel:`Exp. Time (ms)` for
95+
each channel. For the ORCA Lightning camera using ASLM mode, the minimum frame rate
96+
is 75 ms and the maximum is 100 ms.
97+
#. Set :guilabel:`Interval` to be ``1.0`` for each channel.
98+
#. Set :guilabel:`Defocus` to be ``0`` for each channel.
99+
#. Select "Z-Stack" from the dropdown next to the :guilabel:`Acquire` button.
100+
Press :guilabel:`Acquire`.
101+
#. Enter the sample parameters in the :guilabel:`File Saving Dialog` that pops up.
102+
Press :guilabel:`Acquire Data`. This will move the stage in the z-axis and the x-axis
103+
before imaging a plane during the z-stack. Move the stage at the same angle as the
104+
shearing angle removes the need for computational shearing which can be computationally cumbersome.

docs/source/user_guide/case_studies/case_studies_home.rst

+1
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ light sheet microscopes. These include:
3434
acquire_mesospimbt
3535
acquire_CT-ASLM-V1_and_CT-ASLM-V2
3636
acquire_exASLM
37+
ilastik_segmentation

docs/source/user_guide/REST-apis/ilastik_segmentation.rst docs/source/user_guide/case_studies/ilastik_segmentation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Analyzing Images via REST-API
66
In general, the REST-API is used to communicate with software that has different or conflicting
77
dependencies with the **navigate** codebase. Data is transferred via HTTP requests and responses,
88
which is faster and more efficient than locally saving the data and then loading it into another
9-
piece of software, but slower than direct access of an address in memory.
9+
piece of software, but slower than direct access of the data in memory.
1010

1111
Here is an example using `ilastik <https://www.nature.com/articles/s41592-019-0582-9>`_ to segment
1212
images and mark positions for higher resolution in a multiscale

docs/source/user_guide/hardware/hardware_home.rst

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ Hardware
55
:maxdepth: 1
66

77
supported_hardware
8-
implementations

0 commit comments

Comments
 (0)