MCPcopy Create free account
hub / github.com/modelscope/modelscope / compose

Method compose

modelscope/models/science/unifold/modules/frame.py:271–277  ·  view source on GitHub ↗
(
        self,
        other: Frame,
    )

Source from the content-addressed store, hash-verified

269 return self._t
270
271 def compose(
272 self,
273 other: Frame,
274 ) -> Frame:
275 new_rot = self._r @ other._r
276 new_trans = self._r.apply(other._t) + self._t
277 return Frame(new_rot, new_trans)
278
279 def apply(
280 self,

Callers 2

torsion_angles_to_framesFunction · 0.80
atom37_to_framesFunction · 0.80

Calls 2

FrameClass · 0.85
applyMethod · 0.45

Tested by

no test coverage detected