- TemplateRegistry.shortest_bridging_seq(source, target, via=None, inverse_weight=0.5)¶
Find shortest bridging sequence to get from source to target.
source (str) – Source from which to transform to
target (str) – Target to which to transform to.
via (str | list of str) – Waystations to traverse on the way from source to target.
inverse_weight (float) – Weight for inverse transforms. If < 1 will prefer forward transforms.
- Return type:
sequence ((N, ) array) – Sequence of registrations that will be traversed.
transform_seq (TransformSequence) – Class that collates the required transforms to get from source to target.