moscot.problems.cross_modality.TranslationProblem.prepare#

TranslationProblem.prepare(src_attr, tgt_attr, joint_attr=None, batch_key=None, cost='sq_euclidean', cost_kwargs=mappingproxy({}), a=None, b=None, **kwargs)[source]#

Prepare the translation problem.

See also

Parameters:
Return type:

TranslationProblem[TypeVar(K, bound= Hashable)]

Returns:

: Returns self and updates the following fields: