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

AMI Config

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.

Run (New) IBIS-AMI Model Testing Notebook

$ run-notebook -h
Usage: run-notebook [OPTIONS] IBIS_FILE BIT_RATE

  Run a *Jupyter* notebook on an IBIS-AMI model file.

Options:
  -n, --notebook PATH  Override the default notebook file name.
  -o, --out-dir PATH   Override the name of the directory in which to place
                       the results.
  -p, --params TEXT    Directory (or, file) containing configuration sweeps.
  --debug              Provide extra debugging information.
  --is_tx              Flags a Tx model.
  --nspui INTEGER      Number of samples per unit interval.  [default: 32]
  --nbits INTEGER      Number of bits to run in simulations.  [default: 200]
  --plot-t-max FLOAT   Maximum time value for plots (s).  [default: 5e-10]
  --f-max FLOAT        Maximum frequency for transfer functions (Hz).
                       [default: 40000000000.0]
  --f-step FLOAT       Frequency step for transfer functions (Hz).  [default:
                       10000000.0]
  --fig-x INTEGER      x-dimmension for plot figures (in).  [default: 10]
  --fig-y INTEGER      y-dimmension for plot figures (in).  [default: 3]
  --version            Show the version and exit.
  -h, --help           Show this message and exit.

Run (Old Style) Tests

run_tests -h
Usage: run_tests [OPTIONS] [TESTS]...

  Run a series of tests on a AMI model DLL file.

  If no tests are specified on the command line, run all tests found in
  `test_dir`. (See `-t` option.)

  usage: %prog [options] [test1 [test2 ...]]

  Tests are written in the EmPy templating language, and produce XML output.
  (See the examples provided in the `examples` directory of the `pyibisami`
  Python package.)

  Test results should be viewed by loading the XML output file into a Web
  browser. By default, the XML output file refers to the supplied XSLT file,
  `test_results.xsl`. It is possible that you may need to copy this file
  from the pyibisami package directory to your local working directory, in
  order to avoid file loading errors in your Web browser.

Options:
  -t, --test_dir PATH  Sets the name of the directory from which tests are taken.
  -m, --model PATH     Sets the AMI model DLL file name.
  -p, --params TEXT    List of lists of model configurations. Format:
                       <filename> or [(name, [(label, ({AMI params., in
                       "key:val" format},{Model params., in "key:val"
                       format})), ...]), ...]
  -x, --xml_file PATH  Sets the name of the XML output file. You should load
                       this file into your Web browser after the program
                       completion.
  -r, --ref_dir PATH   Sets the name of the directory from which reference
                       waveforms are taken.
  -o, --out_dir PATH   Sets the name of the directory in which to place the
                       results.
  -v, --version TEXT   Show program version info and exit.
  -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-8.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-8.1.0-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyibis_ami-8.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-8.1.0.tar.gz
Algorithm Hash digest
SHA256 f4c66e05d841d7ae5f91204f1071659f9f1c28e2a2965c827f2aae6259ba586d
MD5 d48e847f88a5fb821e9acd772bc1b28a
BLAKE2b-256 009def731a66319f58c7e77e71bca03233768774999f8fd038e7ce5ddb9be965

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyibis_ami-8.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-8.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ba1da7f0f37c7bfa691ca730ade93ee60d884b01fe82155f6501b32f64d35c4
MD5 fbc944dbfc98f8117314aa8c9874c02e
BLAKE2b-256 bc2a5a1ee335b526352f0c77c442c6f3280416d67c4df955017cd6584baa31a2

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