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.1.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.1.0-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyibis_ami-9.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 eb3687807d1ccb02b81d497a08b3fec2eda34e3bbb99a3f743b60aec8107d281
MD5 33ed6a057500149077b82a54b6f16e3c
BLAKE2b-256 10a0f1c21fb2ede6e6c8ee11bba8d6f582dc930d510f6f6b0be780911ba00e21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyibis_ami-9.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a26853ae3296bd9c54c928317f9125fede311f4f7852b64c091f240410292ea1
MD5 56ce072e1bae39e351146d3cc5c63ea5
BLAKE2b-256 eeb4f6feb14fa123dd51aec3d6e91c6202f297f63c93e8562eedf042dde10669

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