spateo.alignment.deformation

Functions

_merge_models(models)

grid_deformation(model[, spatial_key, vecfld_key, ...])

Module Contents

spateo.alignment.deformation._merge_models(models)[source]
spateo.alignment.deformation.grid_deformation(model: anndata.AnnData, spatial_key: str = 'spatial', vecfld_key: str = 'VecFld_morpho', key_added: str = 'deformation', deformation_scale: int = 3, grid_num: numpy.asarray | None = None, dtype: str = 'float64', device: str = 'cpu')[source]