Skip to content

Repository files navigation

python-adc-eval LintPyPi VersionCodecovCodestyle

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:

importadc_eval

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

importadc_evaladc_eval.spectrum.analyze(
<data>,
<fftbins>,
fs=<samplefrequency>,
dr=<dynamicrange/vref>,
harmonics=<numofharmonicstofind>,
leak=<adjacentbinstofilter>,
window=<windowtype (rectangular/hanning)>,
no_plot=<True/False>,
yaxis=<"power"/"fullscale"/"magnitude">,
single_sided=<True/False>
)

About

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

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages