moscot.base.problems.CompoundProblem.prepare

CompoundProblem.prepare(policy, key, subset=None, reference=None, xy=mappingproxy({}), x=mappingproxy({}), y=mappingproxy({}), xy_callback=None, x_callback=None, y_callback=None, xy_callback_kwargs=mappingproxy({}), x_callback_kwargs=mappingproxy({}), y_callback_kwargs=mappingproxy({}), a=None, b=None, marginal_kwargs=mappingproxy({}))

Prepare the individual OT subproblems.

See also

Parameters:
Return type:

BaseCompoundProblem[TypeVar(K, bound= Hashable), TypeVar(B, bound= OTProblem)]

Returns:

: Returns self and updates the following fields: