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

Function smoothing_factor

wan/models/face_model.py:7–9  ·  view source on GitHub ↗
(t_e, cutoff)

Source from the content-addressed store, hash-verified

5
6
7def smoothing_factor(t_e, cutoff):
8 r = 2 * math.pi * cutoff * t_e
9 return r / (r + 1)
10
11
12def exponential_smoothing(a, x, x_prev):

Callers 1

__call__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected