Facilitates working directly with IBIS-AMI DLLs from the Python command prompt.
Project description
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
Release history Release notifications | RSS feed
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-6.1.1.tar.gz
(57.7 kB
view details)
Built Distribution
File details
Details for the file pyibis_ami-6.1.1.tar.gz
.
File metadata
- Download URL: pyibis_ami-6.1.1.tar.gz
- Upload date:
- Size: 57.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73b655d0864e53b29db8be41a7b0a9c90f965c03c23eb1b71004f20404013b53 |
|
MD5 | 1de5b78abeae2c3e2be15ea1c7e30108 |
|
BLAKE2b-256 | d5bb31df423f90b3c9e2766b6bbeb00046e11e08ad2dc40d14d0697091e496a8 |
File details
Details for the file PyIBIS_AMI-6.1.1-py3-none-any.whl
.
File metadata
- Download URL: PyIBIS_AMI-6.1.1-py3-none-any.whl
- Upload date:
- Size: 44.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f05126ecd333e5a874c413376ab8e8f58776ecf7fa9b9c0250679972d5d26a |
|
MD5 | 7c6fcf76ae9262dbf7b33c2c0813bd17 |
|
BLAKE2b-256 | 1633619646016dbd836229047266e0b277e3222ca2f76d87e70064bcc30771b5 |