Types types

Contents

Types types#

The parameter bags and result tuples, collected by kind rather than by domain.

Parameters#

All TypedDicts: pass a plain dict literal or build one with the class. Every key is optional and falls back to the default shown with it.

types.FelzenszwalbParams

Size-aware superpixel defaults for felzenszwalb segmentation.

types.WekaParams

Parameters for WEKA-like trainable segmentation.

types.ReinhardParams

Tuning knobs for Reinhard stain normalization.

types.MacenkoParams

Tuning knobs for Macenko stain-matrix fitting.

types.VahadaneParams

Tuning knobs for Vahadane (sparse-NMF) stain-matrix fitting.

Results#

types.SpatialNeighborsResult(connectivities, ...)

Result of spatial_neighbors function.

types.NhoodEnrichmentResult(zscore, counts)

Result of nhood_enrichment function.