locan.rois.roi#

The Roi class is an object that defines a region of interest within a localization dataset. It is therefore related to region specifications and a unique LocData object.

The Roi object provides methods for saving all specifications to a yaml file, for loading them, and for returning LocData with localizations selected to be within the roi region.

Classes

Roi(region[, reference, loc_properties])

Class for defining a region of interest for a referenced LocData object.

RoiLegacy_0(region_type, region_specs[, ...])

Class for a region of interest on LocData (roi).

Functions

rasterize(locdata[, support, n_regions, ...])

Provide regions of interest by dividing the locdata support in equally sized rectangles.