SLIDE 62 Introduction Implementation Benchmarks Challenges
Examples
Spectrogram
[Parameter(’output’, Annotation(arr, ’o’)), Parameter(’input’, Annotation(arr, ’i’)),], """ ${dtypes.ctype(coeff_dtype)} coeff; %if NFFT != output.shape[0]: if (${idxs[1]} >= ${NFFT}) { coeff = 1; } else %endif { coeff=<YOUR FUNCTION HERE>;} ${output.store_same}(${mul}(${input.load_same}, coeff)); """, render_kwds=dict( coeff_dtype=coeff_dtype, NFFT=NFFT, mul=functions.mul(arr.dtype, coeff_dtype)) Hamming Based α = 0.54, β ≡ 1−α = 0.46 w(n) =
, n ≥ N α −β cos
N−1
Blackman-Harris α0 = 0.358, α1 = 0.488, α2 = 0.141, α3 = 0.012 w(n) =
, n ≥ N α0 −α1 cos
N−1
N−1
N−1
Flat top α0 = 1, α1 = 1.93, α2 = 1.29, α3 = 0.388, α4 = 0.028 w(n) = 1 , n ≥ N α0 −α1 cos
N−1
N−1
N−1
N−1
http://matplotlib.org/examples/pylab_examples/specgram_demo.html https://github.com/fjarri/reikna/tree/develop/examples
- S. Tafur, & C. Kung | DoDI 5230.24: Distribution Statement A.
HD GP-GPU HPC