Skip to main content

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


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)

Uploaded Source

Built Distribution

spectrum_plot-0.1.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page