Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/c/h/chirp-1.2.2/chirp/common/signal.py   chirp(Download)
    def dbspect(self, signal, Fs, dBrange=96, *args, **kwargs):
        from numpy import log10
        from libtfr import dynamic_range
        S, extent = self.linspect(signal, Fs, *args, **kwargs)
        return log10(dynamic_range(S, dBrange)), extent

src/c/h/chirp-1.2.2/chirp/compare/spcc.py   chirp(Download)
        from ewave import wavfile
        from libtfr import fgrid, dynamic_range
        from chirp.common.signal import spectrogram
        from chirp.common.geom import elementlist, masker
        if self.options['powscale'].startswith('log'):
            # TODO calculate dynamic range of the signal for non 16 bit PCM?
            spec = log10(dynamic_range(spec, 96))
            # recenter spectrogram
            if self.options['subtract_mean']: