mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-02 20:06:50 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
cd66f4f532
commit
28edd2bdd7
@ -33,8 +33,6 @@ class EMAFilter:
|
|||||||
self.alpha = alpha
|
self.alpha = alpha
|
||||||
self.ema_value = 0.0
|
self.ema_value = 0.0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def apply(self, audio_signal: list[float]) -> np.ndarray:
|
def apply(self, audio_signal: list[float]) -> np.ndarray:
|
||||||
"""
|
"""
|
||||||
Apply the EMA filter to a sequence of
|
Apply the EMA filter to a sequence of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user