MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / add_joint

Method add_joint

deeplabcut/core/inferenceutils.py:187–193  ·  view source on GitHub ↗
(self, joint)

Source from the content-addressed store, hash-verified

185 return min(in1 / len(self), in2 / len(other))
186
187 def add_joint(self, joint):
188 if joint.label in self._visible or joint.label is None:
189 return False
190 self.data[joint.label] = *joint.pos, joint.confidence, joint.group
191 self._visible.add(joint.label)
192 self._idx.add(joint.idx)
193 return True
194
195 def remove_joint(self, joint):
196 if joint.label not in self._visible:

Callers 3

add_linkMethod · 0.95
_assembleMethod · 0.95
conv_obj_to_assembliesFunction · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected