deepcell_types.PreprocessedFov#

class deepcell_types.PreprocessedFov(raw: ndarray, mask: ndarray, centroids: Dict[str, List[float]], channel_names: List[str], target_mpp: float = 0.5, native_mpp: float = 0.0, scale_factor: float = 1.0)#

Result of preprocess_fov.

All arrays are at target_mpp (0.5 µm/pixel). The raw field is pre-multiplication-by-self-mask (the dataloader’s extract_patch_from_zarr does that during patch extraction).

__init__(raw: ndarray, mask: ndarray, centroids: Dict[str, List[float]], channel_names: List[str], target_mpp: float = 0.5, native_mpp: float = 0.0, scale_factor: float = 1.0) None#

Methods

__init__(raw, mask, centroids, channel_names)

Attributes

native_mpp

scale_factor

target_mpp

raw

mask

centroids

channel_names