moscot.problems.spatiotemporal.SpatioTemporalProblem.prepare#

SpatioTemporalProblem.prepare(time_key, spatial_key='spatial', joint_attr=None, normalize_spatial=True, policy='sequential', cost='sq_euclidean', cost_kwargs=mappingproxy({}), a=None, b=None, marginal_kwargs=mappingproxy({}), **kwargs)[source]#

Prepare the spatiotemporal problem problem.

Parameters:
Return type:

SpatioTemporalProblem

Returns:

: Returns self and updates the following fields: