Skip to main content

Facilitates working directly with IBIS-AMI DLLs from the Python command prompt.

Project description

pre-commit.ci status

PyIBIS-AMI

PyIBIS-AMI is a Python package of tools useful in the development and testing of IBIS-AMI models. This library is used in PyBERT and also provides three command line applications.

It can be installed via: pip install PyIBIS-AMI.

View API/Developer's Documentation.

Command Line Tools

IBIS-AMI Model Testing

PyIBIS-AMI Native:

% test-model -h
Usage: test-model [OPTIONS] IBIS_FILE

Options:
  -m, --model TEXT   Name of IBIS-AMI model to test.
  -p, --params TEXT  Directory containing test configuration sweeps.
  -d, --debug        Provide extra debugging information.
  --version          Show the version and exit.
  -h, --help         Show this message and exit.

IBIS v8.0:

% check-ami -h Usage: check-ami [OPTIONS] IBIS_FILE

Run [AMI Test Configuration] blocks embedded in an IBIS file (IBIS 8.0 §10.11).

Parses IBIS_FILE, locates the target model, then calls AMI_Init() (and AMI_GetWave() for Time_domain configs) and compares the outputs against the golden data files referenced in each [AMI Test Configuration] block.

Exits with status 1 if any configuration fails.

Options: -m, --model-name TEXT Name of the [Model] to test. Required when the .ibs file defines more than one model. -c, --config TEXT Name of a single [AMI Test Configuration] to run. Runs all configs when omitted. --tol-ir FLOAT Absolute tolerance for impulse-response comparison. [default: 1e-06] --tol-wave FLOAT Absolute tolerance for waveform comparison. [default: 1e-06] -h, --help Show this message and exit.

IBIS-AMI Model Pre-build Configuration

ami_config -h
Usage: ami_config [OPTIONS] PY_FILE

  Configure IBIS-AMI model C++ source code, IBIS model, and AMI file.

  py_file: name of model configuration file (*.py)

Options:
  -h, --help  Show this message and exit.

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

pyibis_ami-9.2.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

pyibis_ami-9.2.0-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file pyibis_ami-9.2.0.tar.gz.

File metadata

  • Download URL: pyibis_ami-9.2.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyibis_ami-9.2.0.tar.gz
Algorithm Hash digest
SHA256 f3b3d911b6edc6fdbbc5dc2d29b5aafedf0b5f1ebae2f2fc7258557613020a32
MD5 b00517e20a4e08fc18d743120d410719
BLAKE2b-256 8154a78d78d86f88278dd3a784b20bad1e3364d89efc360d6334fc0d960525cb

See more details on using hashes here.

File details

Details for the file pyibis_ami-9.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyibis_ami-9.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyibis_ami-9.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32e19f63841c758b7a0088bc343ecb42f524333983f152b893a77800c4516cff
MD5 8fc9ff4678edd8a1f61534197ad9f484
BLAKE2b-256 c4eb89c99b94d59f511264692972b02f925baff538e16d376cdb54bfb5ad9b08

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