navigate Logo

Getting Started

  • Quick Start Guide
  • Software Installation
  • I Want To…

User Guide

  • Supported Hardware
  • Supported File Formats
  • User Interface Walkthrough
  • Setting Up A Microscope
  • Acquiring Data
  • Case Studies

Development

  • Contributing Guidelines
  • Developer Install
  • Software Architecture
  • Feature Container
  • REST-API
  • Plugin Architecture

Troubleshooting & Known Issues

  • Troubleshooting
  • Known Issues

Plugins

  • navigate Plugin Template
  • navigate Confocal Projection
  • navigate at Scale
  • navigate Constant Velocity Acquisition
  • navigate MMCore
  • navigate ilastik Server
  • navigate Photoactivation

Reference

  • Implemented Microscopes
  • Software API
    • navigate.config
    • navigate.controller
    • navigate.log_files
    • navigate.model
    • navigate.tools
      • navigate.tools.common_dict_tools
      • navigate.tools.common_functions
      • navigate.tools.decorators
      • navigate.tools.file_functions
      • navigate.tools.image
      • navigate.tools.linear_algebra
      • navigate.tools.main_functions
      • navigate.tools.multipos_table_tools
        • navigate.tools.multipos_table_tools.calc_num_tiles
        • navigate.tools.multipos_table_tools.compute_tiles_from_bounding_box
        • navigate.tools.multipos_table_tools.sign
        • navigate.tools.multipos_table_tools.update_table
        • navigate.tools.multipos_table_tools.write_to_csv_file
      • navigate.tools.sdf
      • navigate.tools.slicing
      • navigate.tools.waveform_template_funcs
      • navigate.tools.xml_tools
    • navigate.view
navigate
  • Software API
  • navigate.tools
  • navigate.tools.multipos_table_tools
  • navigate.tools.multipos_table_tools.calc_num_tiles
  • View page source

navigate.tools.multipos_table_tools.calc_num_tiles

navigate.tools.multipos_table_tools.calc_num_tiles(dist, overlap, roi_length)

Calculate the number of tiles to divide a space dist along a single axis with an ROI of size roi_length and a fractional overlap between ROIs of overlap.

Watch out! This has no indication of what the tiles should actually look like (no information about sign, etc.).

Parameters:
  • dist (float) – Total distance to tile with ROIs. A measure from the closed boundaries of the region to tile (e.g. left side of the first tile all the way to the right side of the last tile for x-dimension low -> high). Positive.

  • overlap (float) – Fraction of roi_length that overlaps in each tile. Value between 0 and 1.

  • roi_length (float) – The length of the ROI along this dimension. Positive.

Returns:

num_tiles – Number of tiles needed to cover this distance.

Return type:

int

Previous Next

© Copyright 2025, Dean Lab, UT Southwestern Medical Center.