utility functions
Defines several general purpose functions that are used throughout findmycells (findmycells.utils)
load_zstack_as_array_from_single_planes
load_zstack_as_array_from_single_planes (path:Union[pathlib.PosixPath,pa thlib.WindowsPath], file_id:str, minx:Optional[int]=None, maxx:Optional[int]=None, miny:Optional[int]=None, maxy:Optional[int]=None)
unpad_x_y_dims_in_3d_array
unpad_x_y_dims_in_3d_array (padded_3d_array:numpy.ndarray, pad_width:int)
get_polygon_from_instance_segmentation
get_polygon_from_instance_segmentation (single_plane:numpy.ndarray, label_id:int)
download_sample_data
download_sample_data (destination_dir_path:Union[pathlib.PosixPath,pathl ib.WindowsPath])
Test data for findmycells can be found here: https://zenodo.org/record/7655292#.Y_LI1R-ZNhE DOI: 10.5281/zenodo.7655292