Skip to main content

Tests Documentation

cbadc

cbadc models control-bounded A/D converters with one clocked state-space frontend. Define A, B, C, D, attach an input and DAC pulse, then simulate decisions and the built-in digital twin. The 0.4.0 release narrows the core to modelling, simulation, reconstruction, and measurement.

Install

cbadc requires Python 3.11 or later:

uv add cbadc

The delta-sigma synthesis bridge is optional: uv add 'cbadc[delsig]' (or pip install 'cbadc[delsig]'). This installs cbadc-deltasigma from PyPI.

Example

from cbadc import Frontend, Sinusoid
from cbadc.snr import simulate_snr

af, osr = Frontend.leapfrog(N=4, OSR=16, BW=1e6)
af.input = Sinusoid(0.5, af.fs / 128)
record = af.simulate(1 << 14)  # v, u, and digital-twin y_hat
result = simulate_snr(af, osr, amp=[-12, -6, 0], full_scale=1.0)
sndr, amplitudes = result["snr_u_hat"], result["amp"]

The matrices have leading (J, K) axes for independent batch members and cyclic phases. Continuous-time linear dynamics are discretized with matrix exponentials. record= selects additional state and comparator traces. GmC and ActiveRC provide physical realizations and ngspice validation; Wiener reconstruction remains available for estimating the input from decisions.

Documentation and source

Metadata

Release files for cbadc 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cbadc 0.4.0
File Size Uploaded Provenance Actions
cbadc-0.4.0.tar.gz 96.6 kB Without provenance Details for cbadc-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cbadc 0.4.0
File Interpreter ABI Platform Actions
cbadc-0.4.0-py3-none-any.whl Python 3 none any Details for cbadc-0.4.0-py3-none-any.whl

Total release size: 197.7 kB

Release files / cbadc-0.4.0.tar.gz

Download URL cbadc-0.4.0.tar.gz
Size 96.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0858787f49dde7ec612a2deb3e6fb3bc8871f74df8ede8fd8088dfea1bc89a68
BLAKE2b-256 checksum
How to use checksums
64dd4d93b6275185283e906acb2038a63cabc0daa3bc5913b7ca4d89ab608376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / cbadc-0.4.0-py3-none-any.whl

Download URL cbadc-0.4.0-py3-none-any.whl
Size 101.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7bc72e1ea04906370f453900d6a3162b436c857d97236a91cb3ea8b3ffb070c
BLAKE2b-256 checksum
How to use checksums
24ff0c76c13eaf2f31f19d14217aeb1c3cbe8f448cf665724aacf825ad136227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for cbadc 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page