Skip to main content

ADC Evaluation Library

Project description

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"/"magnitude">,
    single_sided=<True/False>
)

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

python_adc_eval-0.4.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_adc_eval-0.4.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file python_adc_eval-0.4.0.tar.gz.

File metadata

  • Download URL: python_adc_eval-0.4.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for python_adc_eval-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e120c5f4f25f648a3e38e0f32a1b3a0c66e50678e76e2ee424241ddd0d0bcefb
MD5 9097754a9ccd849a9ae32270cbb34bd6
BLAKE2b-256 9fbdf8fd869ca86393efe1873e4855afb19be44a1943b36bc9a632cb320e4058

See more details on using hashes here.

File details

Details for the file python_adc_eval-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_adc_eval-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e32bce2bff00540ab9b4ad5d05f4fa3b74459d3e54a3f5dccf103b96a657c4d
MD5 82594224d26b21b9f3c9a933daf7f575
BLAKE2b-256 a4702de28fc585cbd498a3a49817defaf661b02ece75ffc92d6856534bdc37ae

See more details on using hashes here.

Supported by

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