Stack Acquisition¶
To configure a stack, first click the Enable Stack check box in the Main Controls Window to open the Stack Controls Window.

Slice Configuration¶
![]() |
![]() |
![]() |
Next, the slices need to be configured. There are three tabs for three ways that a stack slices can be defined - Uniform, Bounded, and Arbitrary. Each tab shares the Frames per Slice, Number of Slices, and Number of Volumes; each of these can also be configured from the Main Controls window. The way in which they differ is how the locations of the slices are defined. For this tutorial, a uniform stack of the following parameters are defined:
Number of Slices |
10 |
Step Size |
2 |
Centered Stack |
Leave unchecked |
See below for a description of each of the three slice definition tabs.
Uniform Stacks are configured by the Number of Slices and the Step Size. The stack starts from the current imaging plane, unless the Centered Stack checkbox is ticked, in which case the stack is centered around the current imaging plane. Note: The Step Size can be positive (stack points into the sample) or negative (stack points out of the sample).
Bounded Stacks allow to define the top and bottom bounds of the stack. While in a FOCUS acquisition, use the Motor Controls to go to the top of the stack and select ‘Set Start’. Next use the motor controls to go to the bottom of the stack and select ‘Set End’. The step size will automatically be calculated to reflect the chosen number of slices. The Use start end powers checkbox refers to whether or not to use the start and end powers used when selecting slice locations. If left unchecked, ScanImage® will use the Power/Depth Adjust method as configured from the Power Controls window.
Arbitrary Stacks are configured by entering slice depths into a vector in the Arbitrary Zs [um] field. If an ROI group is loaded from the ROI Group Editor, the Copy from ROI group button can be clicked to retrieve all z planes of previously drawn ROIs.
Stack Type¶
ScanImage supports two types of stack:
Slow Stack |
After a slice is acquired, the acquisition stops, the motor moves the focal point to the next slice and the acquisition is restarted. This mode can utilize a motorized stage, or a FastZ device. |
Fast Stack |
The motor moves the focal point continuously in Z, while the acquisition keeps running. This mode requires a FastZ actuator that is controlled via an analog command signal. (e.g. Piezo objective positioner, electrically tunable lens, voice coil for remote focusing) |
To learn about the distinction between Slow Stacks and Fast Stacks, visit the Volume Imaging concept page.
Slow Stack¶
Configure a slow stack by
selecting an actuator (Motor or FastZ)
decide whether the actuator should return to the start (home) position after the stack acquisition is completed
decide whether to lose Shutter btwn Slices*
Fast Stack¶
Configure the fast stack by
selecting a Waveform shape,
indicating whether to Return Home after the stack,
and optimizing the waveform by - clicking the Test Waveform button, - determining Flyback Time (ms) and Actuator Lag (ms), - and entering them in from the Stack Controls Window
Waveform |
Waveform shape to drive the FastZ actuator. Options:
|
Return Home |
Return to initial position after the stack acquisition is completed |
Flyback Time (ms) |
Time allocated for flying-back the the Z actuator at the end of the stack Note the flyback time is rounded up to a multiple of the frame duration to determine the number of discarded frames |
#Discard Frames |
(not settable) number of flyback frames, calculated based on flyback time |
Actuator Lag (ms) |
Lead time applied to FastZ drive waveform to compensate for actuator lag |
Volume Rate |
Volume Rate [Hz] |
Test Waveform |
Show the FastZ Tuning Window |
Starting the Acquisition¶
Clicking the Grab button in the Main Controls window will acquire the stack.