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 two command line applications.

It can be installed via conda. PyPi support is experimental but can be installed with 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 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-4.0.0.tar.gz (51.8 kB view details)

Uploaded Source

Built Distribution

PyIBIS_AMI-4.0.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file PyIBIS-AMI-4.0.0.tar.gz.

File metadata

  • Download URL: PyIBIS-AMI-4.0.0.tar.gz
  • Upload date:
  • Size: 51.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.13

File hashes

Hashes for PyIBIS-AMI-4.0.0.tar.gz
Algorithm Hash digest
SHA256 89410240cf97bd63e61423ecf0aaf0f6944109204a7a858e3a9d2199eab2a3c1
MD5 4262ac35dfc62b154ccb2a20bc4de6e7
BLAKE2b-256 33ebab22c46d40057180a0f1bb55b840b3303a21fecb0ab08150853ebd56be2f

See more details on using hashes here.

File details

Details for the file PyIBIS_AMI-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: PyIBIS_AMI-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.13

File hashes

Hashes for PyIBIS_AMI-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2745067df784f96f31c410986afbf3e38fdeb1d225a4d15ff97723e0ea46f0ff
MD5 8d613d3302c6713dbe4d71a6d24a3675
BLAKE2b-256 9cf5aa35dd1c267d61757a28d1dc5047b250fd0130a6aea183f64a8e7d57365c

See more details on using hashes here.

Supported by

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