PyIBIS-AMI 6.2.0__tar.gz → 6.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. {pyibis_ami-6.2.0/src/PyIBIS_AMI.egg-info → pyibis_ami-6.2.2}/PKG-INFO +31 -3
  2. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/README.md +28 -0
  3. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/docs/source/conf.py +2 -2
  4. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/pyproject.toml +6 -3
  5. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2/src/PyIBIS_AMI.egg-info}/PKG-INFO +31 -3
  6. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/PyIBIS_AMI.egg-info/SOURCES.txt +3 -1
  7. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/PyIBIS_AMI.egg-info/entry_points.txt +1 -0
  8. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/PyIBIS_AMI.egg-info/requires.txt +1 -0
  9. pyibis_ami-6.2.2/src/pyibisami/IBIS_AMI_Checker.ipynb +1693 -0
  10. pyibis_ami-6.2.2/src/pyibisami/IBIS_AMI_Tester.ipynb +1457 -0
  11. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ami/config.py +1 -1
  12. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ami/model.py +77 -47
  13. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ami/parser.py +48 -1
  14. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/common.py +7 -12
  15. pyibis_ami-6.2.2/src/pyibisami/tools/run_notebook.py +144 -0
  16. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/tools/run_tests.py +14 -9
  17. pyibis_ami-6.2.0/src/pyibisami/tools/test_results.xsl +0 -42
  18. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/LICENSE +0 -0
  19. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/MANIFEST.in +0 -0
  20. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/docs/source/ami.rst +0 -0
  21. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/docs/source/ibis.rst +0 -0
  22. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/docs/source/index.rst +0 -0
  23. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/docs/source/install.rst +0 -0
  24. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/docs/source/modules.rst +0 -0
  25. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/docs/source/tools.rst +0 -0
  26. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/all_taps.run +0 -0
  27. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/bandwidth.run +0 -0
  28. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/dummy.em +0 -0
  29. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/examples.md +0 -0
  30. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/freq_resp.em +0 -0
  31. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/impulse.em +0 -0
  32. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/impulse_response_8ma.txt +0 -0
  33. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/mode.run +0 -0
  34. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/stratix4_ami_tx_runs/all_taps.run +0 -0
  35. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/examples/stratix4_ami_tx_runs/test_results.xml +0 -0
  36. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/setup.cfg +0 -0
  37. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/PyIBIS_AMI.egg-info/dependency_links.txt +0 -0
  38. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/PyIBIS_AMI.egg-info/top_level.txt +0 -0
  39. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/__init__.py +0 -0
  40. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/__main__.py +0 -0
  41. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ami/__init__.py +0 -0
  42. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ami/generic.ami.em +0 -0
  43. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ami/generic.ibs.em +0 -0
  44. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ami/parameter.py +0 -0
  45. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ibis/__init__.py +0 -0
  46. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ibis/file.py +0 -0
  47. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ibis/model.py +0 -0
  48. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/ibis/parser.py +0 -0
  49. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/src/pyibisami/tools/__init__.py +0 -0
  50. {pyibis_ami-6.2.0/examples/test_results → pyibis_ami-6.2.2/src/pyibisami/tools}/test_results.xsl +0 -0
  51. {pyibis_ami-6.2.0 → pyibis_ami-6.2.2}/tests/test_run_tests.py +0 -0
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: PyIBIS-AMI
3
- Version: 6.2.0
3
+ Version: 6.2.2
4
4
  Summary: Facilitates working directly with IBIS-AMI DLLs from the Python command prompt.
5
- Author: David Patterson
6
5
  Author-email: David Banas <capn.freako@gmail.com>
7
6
  License: BSD
8
7
  Project-URL: Documentation, https://pyibis-ami.readthedocs.io/en/latest/
@@ -32,6 +31,7 @@ Requires-Dist: empy>=3.3.4
32
31
  Requires-Dist: importlib_resources
33
32
  Requires-Dist: matplotlib>=3.6.1
34
33
  Requires-Dist: numpy<1.27,>=1.26
34
+ Requires-Dist: papermill
35
35
  Requires-Dist: parsec>=3.15
36
36
  Requires-Dist: scipy>=1.9
37
37
 
@@ -49,6 +49,34 @@ It can be installed via: `pip install PyIBIS-AMI`.
49
49
 
50
50
  ## Command Line Tools
51
51
 
52
+ ### Run IBIS-AMI Model Testing Notebook
53
+
54
+ ```shell
55
+ $ run-notebook -h
56
+ Usage: run-notebook [OPTIONS] IBIS_FILE BIT_RATE
57
+
58
+ Run a *Jupyter* notebook on an IBIS-AMI model file.
59
+
60
+ Options:
61
+ -n, --notebook PATH Override the default notebook file name.
62
+ -o, --out-dir PATH Override the name of the directory in which to place
63
+ the results.
64
+ -p, --params TEXT Directory (or, file) containing configuration sweeps.
65
+ --debug Provide extra debugging information.
66
+ --is_tx Flags a Tx model.
67
+ --nspui INTEGER Number of samples per unit interval. [default: 32]
68
+ --nbits INTEGER Number of bits to run in simulations. [default: 200]
69
+ --plot-t-max FLOAT Maximum time value for plots (s). [default: 5e-10]
70
+ --f-max FLOAT Maximum frequency for transfer functions (Hz).
71
+ [default: 40000000000.0]
72
+ --f-step FLOAT Frequency step for transfer functions (Hz). [default:
73
+ 10000000.0]
74
+ --fig-x INTEGER x-dimmension for plot figures (in). [default: 10]
75
+ --fig-y INTEGER y-dimmension for plot figures (in). [default: 3]
76
+ --version Show the version and exit.
77
+ -h, --help Show this message and exit.
78
+ ```
79
+
52
80
  ### AMI Config
53
81
 
54
82
  ```shell
@@ -12,6 +12,34 @@ It can be installed via: `pip install PyIBIS-AMI`.
12
12
 
13
13
  ## Command Line Tools
14
14
 
15
+ ### Run IBIS-AMI Model Testing Notebook
16
+
17
+ ```shell
18
+ $ run-notebook -h
19
+ Usage: run-notebook [OPTIONS] IBIS_FILE BIT_RATE
20
+
21
+ Run a *Jupyter* notebook on an IBIS-AMI model file.
22
+
23
+ Options:
24
+ -n, --notebook PATH Override the default notebook file name.
25
+ -o, --out-dir PATH Override the name of the directory in which to place
26
+ the results.
27
+ -p, --params TEXT Directory (or, file) containing configuration sweeps.
28
+ --debug Provide extra debugging information.
29
+ --is_tx Flags a Tx model.
30
+ --nspui INTEGER Number of samples per unit interval. [default: 32]
31
+ --nbits INTEGER Number of bits to run in simulations. [default: 200]
32
+ --plot-t-max FLOAT Maximum time value for plots (s). [default: 5e-10]
33
+ --f-max FLOAT Maximum frequency for transfer functions (Hz).
34
+ [default: 40000000000.0]
35
+ --f-step FLOAT Frequency step for transfer functions (Hz). [default:
36
+ 10000000.0]
37
+ --fig-x INTEGER x-dimmension for plot figures (in). [default: 10]
38
+ --fig-y INTEGER y-dimmension for plot figures (in). [default: 3]
39
+ --version Show the version and exit.
40
+ -h, --help Show this message and exit.
41
+ ```
42
+
15
43
  ### AMI Config
16
44
 
17
45
  ```shell
@@ -80,9 +80,9 @@ author = "David Banas"
80
80
  # built documents.
81
81
  #
82
82
  # The short X.Y version.
83
- version = "6.1"
83
+ version = "6.2"
84
84
  # The full version, including alpha/beta/rc tags.
85
- release = "6.1.0"
85
+ release = "6.2.2"
86
86
 
87
87
  # The language for content autogenerated by Sphinx. Refer to documentation
88
88
  # for a list of supported languages.
@@ -5,9 +5,8 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "PyIBIS-AMI"
7
7
  description = "Facilitates working directly with IBIS-AMI DLLs from the Python command prompt."
8
- version = "6.2.0"
8
+ version = "6.2.2"
9
9
  authors = [ {name = "David Banas", email = "capn.freako@gmail.com"}
10
- , {name = "David Patterson"}
11
10
  ]
12
11
  readme = "README.md"
13
12
  requires-python = ">=3.9,<3.13"
@@ -18,8 +17,8 @@ dependencies = [
18
17
  "empy>=3.3.4",
19
18
  "importlib_resources",
20
19
  "matplotlib>=3.6.1",
21
- # "numpy>=1.25,<1.26",
22
20
  "numpy>=1.26,<1.27",
21
+ "papermill",
23
22
  "parsec>=3.15",
24
23
  "scipy>=1.9",
25
24
  ]
@@ -49,10 +48,14 @@ PyPi = "https://pypi.org/project/PyIBIS-AMI/"
49
48
  [project.scripts]
50
49
  ami-config = "pyibisami.ami.config:main"
51
50
  run-tests = "pyibisami.tools.run_tests:main"
51
+ run-notebook = "pyibisami.tools.run_notebook:main"
52
52
 
53
53
  [tool.setuptools.packages.find]
54
54
  where = ["src"]
55
55
 
56
+ [tool.setuptools.package-data]
57
+ "pyibisami" = ['*.ipynb'] # <--- "" (empty string) means "all packages".
58
+
56
59
  [tool.black]
57
60
  line-length = 119
58
61
 
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: PyIBIS-AMI
3
- Version: 6.2.0
3
+ Version: 6.2.2
4
4
  Summary: Facilitates working directly with IBIS-AMI DLLs from the Python command prompt.
5
- Author: David Patterson
6
5
  Author-email: David Banas <capn.freako@gmail.com>
7
6
  License: BSD
8
7
  Project-URL: Documentation, https://pyibis-ami.readthedocs.io/en/latest/
@@ -32,6 +31,7 @@ Requires-Dist: empy>=3.3.4
32
31
  Requires-Dist: importlib_resources
33
32
  Requires-Dist: matplotlib>=3.6.1
34
33
  Requires-Dist: numpy<1.27,>=1.26
34
+ Requires-Dist: papermill
35
35
  Requires-Dist: parsec>=3.15
36
36
  Requires-Dist: scipy>=1.9
37
37
 
@@ -49,6 +49,34 @@ It can be installed via: `pip install PyIBIS-AMI`.
49
49
 
50
50
  ## Command Line Tools
51
51
 
52
+ ### Run IBIS-AMI Model Testing Notebook
53
+
54
+ ```shell
55
+ $ run-notebook -h
56
+ Usage: run-notebook [OPTIONS] IBIS_FILE BIT_RATE
57
+
58
+ Run a *Jupyter* notebook on an IBIS-AMI model file.
59
+
60
+ Options:
61
+ -n, --notebook PATH Override the default notebook file name.
62
+ -o, --out-dir PATH Override the name of the directory in which to place
63
+ the results.
64
+ -p, --params TEXT Directory (or, file) containing configuration sweeps.
65
+ --debug Provide extra debugging information.
66
+ --is_tx Flags a Tx model.
67
+ --nspui INTEGER Number of samples per unit interval. [default: 32]
68
+ --nbits INTEGER Number of bits to run in simulations. [default: 200]
69
+ --plot-t-max FLOAT Maximum time value for plots (s). [default: 5e-10]
70
+ --f-max FLOAT Maximum frequency for transfer functions (Hz).
71
+ [default: 40000000000.0]
72
+ --f-step FLOAT Frequency step for transfer functions (Hz). [default:
73
+ 10000000.0]
74
+ --fig-x INTEGER x-dimmension for plot figures (in). [default: 10]
75
+ --fig-y INTEGER y-dimmension for plot figures (in). [default: 3]
76
+ --version Show the version and exit.
77
+ -h, --help Show this message and exit.
78
+ ```
79
+
52
80
  ### AMI Config
53
81
 
54
82
  ```shell
@@ -19,13 +19,14 @@ examples/impulse_response_8ma.txt
19
19
  examples/mode.run
20
20
  examples/stratix4_ami_tx_runs/all_taps.run
21
21
  examples/stratix4_ami_tx_runs/test_results.xml
22
- examples/test_results/test_results.xsl
23
22
  src/PyIBIS_AMI.egg-info/PKG-INFO
24
23
  src/PyIBIS_AMI.egg-info/SOURCES.txt
25
24
  src/PyIBIS_AMI.egg-info/dependency_links.txt
26
25
  src/PyIBIS_AMI.egg-info/entry_points.txt
27
26
  src/PyIBIS_AMI.egg-info/requires.txt
28
27
  src/PyIBIS_AMI.egg-info/top_level.txt
28
+ src/pyibisami/IBIS_AMI_Checker.ipynb
29
+ src/pyibisami/IBIS_AMI_Tester.ipynb
29
30
  src/pyibisami/__init__.py
30
31
  src/pyibisami/__main__.py
31
32
  src/pyibisami/common.py
@@ -41,6 +42,7 @@ src/pyibisami/ibis/file.py
41
42
  src/pyibisami/ibis/model.py
42
43
  src/pyibisami/ibis/parser.py
43
44
  src/pyibisami/tools/__init__.py
45
+ src/pyibisami/tools/run_notebook.py
44
46
  src/pyibisami/tools/run_tests.py
45
47
  src/pyibisami/tools/test_results.xsl
46
48
  tests/test_run_tests.py
@@ -1,3 +1,4 @@
1
1
  [console_scripts]
2
2
  ami-config = pyibisami.ami.config:main
3
+ run-notebook = pyibisami.tools.run_notebook:main
3
4
  run-tests = pyibisami.tools.run_tests:main
@@ -4,5 +4,6 @@ empy>=3.3.4
4
4
  importlib_resources
5
5
  matplotlib>=3.6.1
6
6
  numpy<1.27,>=1.26
7
+ papermill
7
8
  parsec>=3.15
8
9
  scipy>=1.9