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

Function _filter

pytta/classes/analysis.py:1148–1163  ·  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

1146
1147
1148def _filter(signal,
1149 order: int = 4,
1150 nthOct: int = 3,
1151 minFreq: float = 20,
1152 maxFreq: float = 20000,
1153 refFreq: float = 1000,
1154 base: int = 10):
1155 of = OctFilter(order=order,
1156 nthOct=nthOct,
1157 samplingRate=signal.samplingRate,
1158 minFreq=minFreq,
1159 maxFreq=maxFreq,
1160 refFreq=refFreq,
1161 base=base)
1162 result = of.filter(signal)
1163 return result[0]
1164
1165
1166# @njit

Callers 3

G_LpeFunction · 0.90
G_LpsFunction · 0.90
cumulative_integrationFunction · 0.70

Calls 2

filterMethod · 0.95
OctFilterClass · 0.90

Tested by

no test coverage detected