box module
-
class gensei.box.Box(dims=None, units=None, resolution=None, n_object=None, n_slice=None)
-
get_area(axis)
- Get the area of a slice for the given axis.
-
get_pixel_area(axis)
- Get the area in pixels squared of a slice for the given axis.
-
get_pixel_sizes(axis)
- Get sizes (width, height) in pixels of a slice for the given axis.
-
get_points()
- All points in the block.
-
get_sizes(axis)
- Get sizes (width, height) of a slice for the given axis.