MCPcopy Create free account
hub / github.com/PyTTaMaster/PyTTa / _filter

Function _filter

pytta/iso3741.py:26–41  ·  view source on GitHub ↗
(signal,
            order: int = 4,
            nthOct: int = 3,
            minFreq: float = 20,
            maxFreq: float = 20000,
            refFreq: float = 1000,
            base: int = 10)

Source from the content-addressed store, hash-verified

24import traceback
25
26def _filter(signal,
27 order: int = 4,
28 nthOct: int = 3,
29 minFreq: float = 20,
30 maxFreq: float = 20000,
31 refFreq: float = 1000,
32 base: int = 10):
33 of = OctFilter(order=order,
34 nthOct=nthOct,
35 samplingRate=signal.samplingRate,
36 minFreq=minFreq,
37 maxFreq=maxFreq,
38 refFreq=refFreq,
39 base=base)
40 result = of.filter(signal)
41 return result[0]
42
43def Lp_ST(sigObjList, nthOct, minFreq, maxFreq, IRManualCut=None):
44 """

Callers 1

Lp_STFunction · 0.70

Calls 2

filterMethod · 0.95
OctFilterClass · 0.90

Tested by

no test coverage detected