MCPcopy Create free account
hub / github.com/smacke/ffsubsync / transform

Method transform

ffsubsync/aligners.py:82–86  ·  view source on GitHub ↗
(self, *_)

Source from the content-addressed store, hash-verified

80 return self
81
82 def transform(self, *_) -> Union[int, Tuple[float, int]]:
83 if self.get_score_:
84 return self.best_score_, self.best_offset_
85 else:
86 return self.best_offset_
87
88
89class MaxScoreAligner(TransformerMixin):

Callers 7

_best_ratio_and_offsetFunction · 0.95
try_syncFunction · 0.45
_run_implFunction · 0.45
fitMethod · 0.45

Calls

no outgoing calls