Function
_filter
(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
| 24 | import traceback |
| 25 | |
| 26 | def _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 | |
| 43 | def Lp_ST(sigObjList, nthOct, minFreq, maxFreq, IRManualCut=None): |
| 44 | """ |
Tested by
no test coverage detected