pymaid.CrossProjectLandmarkMatcher

class pymaid.CrossProjectLandmarkMatcher(this_lms: LandmarkMatcher, other_lms: LandmarkMatcher)[source]

Class for finding matching pairs of landmark locations between two instances.

For example, find control points for transforming neurons from one instance’s space to another.

Constructing using .from_catmaid() may be more convenient.

Parameters:
  • this_lms (LandmarkMatcher) – LandmarkMatcher for landmarks in “this” space.

  • other_lms (LandmarkMatcher) – LandmarkMatcher for landmarks in the “other” space.

__init__(this_lms: LandmarkMatcher, other_lms: LandmarkMatcher)[source]

Constructing using .from_catmaid() may be more convenient.

Parameters:
  • this_lms (LandmarkMatcher) – LandmarkMatcher for landmarks in “this” space.

  • other_lms (LandmarkMatcher) – LandmarkMatcher for landmarks in the “other” space.

Methods

__init__(this_lms, other_lms)

Constructing using .from_catmaid() may be more convenient.

from_catmaid(other_remote_instance[, ...])

Instantiate from a pair of CatmaidInstances.

match(this_group[, other_group])

Match landmark locations between two instance of CATMAID.

match_all()

Match all landmark locations between two instances of CATMAID.