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

Function _circular_time_shift

pytta/classes/analysis.py:1241–1245  ·  view source on GitHub ↗
(timeSignal, threshold=20)

Source from the content-addressed store, hash-verified

1239
1240# @njit
1241def _circular_time_shift(timeSignal, threshold=20):
1242 # find the first sample where inputSignal level > 20 dB or > bgNoise level
1243 startSample = _start_sample_ISO3382(timeSignal, threshold)
1244 newTimeSignal = timeSignal[startSample:]
1245 return (newTimeSignal, startSample)
1246
1247
1248# @njit

Callers 4

G_LpeFunction · 0.90
G_LpsFunction · 0.90
_Lundeby_correctionFunction · 0.85
crop_IRFunction · 0.85

Calls 1

_start_sample_ISO3382Function · 0.85

Tested by

no test coverage detected