Skip to content

📊 Tools collection (NumPy + Matplotlib based) to do spectral analysis and calculate the key performance parameters of an ADC

License

Notifications You must be signed in to change notification settings

fronzbot/python-adc-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-adc-eval Lint PyPi Version Codecov Codestyle

A python-based ADC evaluation tool, suitable for standalone or library-based usage

Details

Inspired by esynr3z/adc-eval

Performs spectral analysis of a dataset utilizing the Bartlett method. Calculates SFDR, SNDR, as well as harmonics.

analyser

analyser

USAGE

To load the library in a module:

import adc_eval

Given an array of values representing the output of an ADC, the spectrum can be analyzed with the following:

import adc_eval

adc_eval.spectrum.analyze(
    <data>,
    <fft bins>,
    fs=<sample frequency>,
    dr=<dynamicrange/vref>,
    harmonics=<num of harmonics to find>,
    leak=<adjacent bins to filter>,
    window=<window type (rectangular/hanning)>,
    no_plot=<True/False>,
    yaxis=<"power"/"fullscale">
)

About

📊 Tools collection (NumPy + Matplotlib based) to do spectral analysis and calculate the key performance parameters of an ADC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages