Interactive spectrum plot. Update FFT plot on every new sampled data
Project description
spectrum plot
plotting FFT of 1D data, with live plot update
usage example:
import numpy as np
from spectrum_plot import create_fft_plot
plot = create_fft_plot()
n = 200
seconds = 0.1
t = np.linspace(0, seconds, n)
nyquist = n / seconds / 2
for freq in np.linspace(100, nyquist, 100):
sine = np.sin(2 * np.pi * t * freq)
plot.update_raw_data(sine, seconds=seconds)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spectrum_plot-0.1.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for spectrum_plot-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d88d23190c95e1c29fe8055aec170e270fa49f8156047a9f78ac69b319c1f86 |
|
MD5 | a296991cb9034317497536ff8b80b5fe |
|
BLAKE2b-256 | a17f9e3bfc04b983ae71a5a806218c4ec350baf9c709fa815000d8d1334f085f |