navigate.tools.multipos_table_tools.compute_tiles_from_bounding_box
- navigate.tools.multipos_table_tools.compute_tiles_from_bounding_box(x_start, x_tiles, x_length, x_overlap, y_start, y_tiles, y_length, y_overlap, z_start, z_tiles, z_length, z_overlap, theta_start, theta_tiles, theta_length, theta_overlap, f_start, f_tiles, f_length, f_overlap, f_track_with_z=False)
Create a grid of ROIs to image based on start position, number of tiles, and signed FOV length in each dimension.
- Parameters:
x_start (float) – Starting position along x-dimension.
x_tiles (int) – Number of tiles to take along x-dimension.
x_length (float) – Signed length of the FOV along x-dimension.
x_overlap (float) – Fractional overlap of ROIs along x-dimension.
y_start (float) – Starting position along y-dimension.
y_tiles (int) – Number of tiles to take along y-dimension.
y_length (float) – Signed length of the FOV along y-dimension.
y_overlap (float) – Fractional overlap of ROIs along y-dimension.
z_start (float) – Starting position along z-dimension.
z_tiles (int) – Number of tiles to take along z-dimension.
z_length (float) – Signed length of the FOV along z-dimension.
z_overlap (float) – Fractional overlap of ROIs along z-dimension.
theta_start (float) – Starting position along rotation dimension.
theta_tiles (int) – Number of tiles to take along rotation dimension.
theta_length (float) – Signed length of the FOV along rotation dimension.
theta_overlap (float) – Fractional overlap of ROIs along rotation dimension.
f_start (float) – Starting position along focus dimension.
f_tiles (int) – Number of tiles to take along focus dimension.
f_length (float) – Signed length of the FOV along focus dimension.
f_overlap (float) – Fractional overlap of ROIs along focus dimension.
f_track_with_z (bool) – Make focus track with z/assume focus is z-dependent.
- Returns:
(n_positions x (x, y, z, theta, f)) array of positions, gridding out the space
- Return type:
np.array