MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / smoothing_factor

Function smoothing_factor

wan/models/face_utils.py:40–42  ·  view source on GitHub ↗
(t_e, cutoff)

Source from the content-addressed store, hash-verified

38
39
40def smoothing_factor(t_e, cutoff):
41 r = 2 * math.pi * cutoff * t_e
42 return r / (r + 1)
43
44
45def exponential_smoothing(a, x, x_prev):

Callers 1

__call__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected