AllenDowney / ThinkDSP

Think DSP: Digital Signal Processing in Python, by Allen B. Downey.
https://allendowney.github.io/ThinkDSP/
3.93k stars 3.2k forks source link

adds get_data() method to a Spectrogram class #70

Closed vskobov closed 4 years ago

vskobov commented 4 years ago

this is handy, if you want to get a quick access to the Spectrogram data, as NumPy array, ex. machine learning, etc.

AllenDowney commented 4 years ago

Looks good. Do you want to add a test to thinkdsp_test.py?

Thanks!