circuitpython/shared-bindings/ulab/extras/__init__.pyi

11 lines
349 B
Python
Raw Normal View History

2020-05-14 18:57:35 -04:00
"""Additional functions not in numpy"""
def spectrum(r):
"""
:param ulab.array r: A 1-dimension array of values whose size is a power of 2
Computes the spectrum of the input signal. This is the absolute value of the (complex-valued) fft of the signal.
This function is similar to scipy's ``scipy.signal.spectrogram``."""
...