PyIBIS-AMI 9.1.0__tar.gz → 9.2.0__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 (66) hide show
  1. {pyibis_ami-9.1.0/src/pyibis_ami.egg-info → pyibis_ami-9.2.0}/PKG-INFO +17 -14
  2. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/pyproject.toml +17 -14
  3. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0/src/pyibis_ami.egg-info}/PKG-INFO +17 -14
  4. pyibis_ami-9.2.0/src/pyibis_ami.egg-info/requires.txt +15 -0
  5. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/model.py +2 -2
  6. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/parser.py +2 -1
  7. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/ami_tests.py +1 -1
  8. pyibis_ami-9.1.0/src/pyibis_ami.egg-info/requires.txt +0 -13
  9. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/LICENSE +0 -0
  10. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/MANIFEST.in +0 -0
  11. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/README.md +0 -0
  12. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/docs/source/ami.rst +0 -0
  13. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/docs/source/conf.py +0 -0
  14. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/docs/source/ibis.rst +0 -0
  15. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/docs/source/index.rst +0 -0
  16. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/docs/source/install.rst +0 -0
  17. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/docs/source/modules.rst +0 -0
  18. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/docs/source/tools.rst +0 -0
  19. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/all_taps.run +0 -0
  20. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/bandwidth.run +0 -0
  21. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/dummy.em +0 -0
  22. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/examples.md +0 -0
  23. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/freq_resp.em +0 -0
  24. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/impulse.em +0 -0
  25. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/impulse_response_8ma.txt +0 -0
  26. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/mode.run +0 -0
  27. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/stratix4_ami_tx_runs/all_taps.run +0 -0
  28. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/stratix4_ami_tx_runs/test_results.xml +0 -0
  29. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/examples/test_results/test_results.xsl +0 -0
  30. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/setup.cfg +0 -0
  31. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibis_ami.egg-info/SOURCES.txt +0 -0
  32. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibis_ami.egg-info/dependency_links.txt +0 -0
  33. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibis_ami.egg-info/entry_points.txt +0 -0
  34. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibis_ami.egg-info/top_level.txt +0 -0
  35. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/IBIS_AMI_Checker.ipynb +0 -0
  36. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/IBIS_AMI_Tester.ipynb +0 -0
  37. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/__init__.py +0 -0
  38. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/__main__.py +0 -0
  39. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/__init__.py +0 -0
  40. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/config.py +0 -0
  41. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/generic.ami.em +0 -0
  42. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/generic.ibs.em +0 -0
  43. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/parameter.py +0 -0
  44. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ami/reserved_parameter_names.py +0 -0
  45. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/common.py +0 -0
  46. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ibis/__init__.py +0 -0
  47. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ibis/file.py +0 -0
  48. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ibis/model.py +0 -0
  49. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/ibis/parser.py +0 -0
  50. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/__init__.py +0 -0
  51. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/ami_test_config.py +0 -0
  52. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/ami_tests_helpers.py +0 -0
  53. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/ibis_file_tests.py +0 -0
  54. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/test_defs.py +0 -0
  55. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/test_models.py +0 -0
  56. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/testing/util.py +0 -0
  57. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/tools/__init__.py +0 -0
  58. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/tools/run_notebook.py +0 -0
  59. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/tools/run_tests.py +0 -0
  60. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/tools/test_results.xsl +0 -0
  61. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/util/ami.py +0 -0
  62. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/util/misc.py +0 -0
  63. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/util/plot.py +0 -0
  64. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/src/pyibisami/util/reportlab.py +0 -0
  65. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/tests/test_ami_test_config.py +0 -0
  66. {pyibis_ami-9.1.0 → pyibis_ami-9.2.0}/tests/test_run_tests.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyibis-ami
3
- Version: 9.1.0
3
+ Version: 9.2.0
4
4
  Summary: Facilitates working directly with IBIS-AMI DLLs from the Python command prompt.
5
5
  Author-email: David Banas <capn.freako@gmail.com>
6
6
  Project-URL: Documentation, https://pyibis-ami.readthedocs.io/en/latest/
@@ -17,25 +17,28 @@ Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
20
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
21
22
  Classifier: Topic :: System :: Emulators
22
23
  Classifier: Topic :: Utilities
23
- Requires-Python: <3.13,>=3.10
24
+ Requires-Python: <3.14,>=3.10
24
25
  Description-Content-Type: text/markdown
25
26
  License-File: LICENSE
26
- Requires-Dist: chaco>=6.0.0
27
- Requires-Dist: click>=8.1.3
28
- Requires-Dist: empy>=3.3.4
29
- Requires-Dist: importlib_resources
30
- Requires-Dist: jupyter
31
- Requires-Dist: lxml-html-clean>=0.4.4
27
+ Requires-Dist: chaco==6.1.1
28
+ Requires-Dist: click==8.4.2
29
+ Requires-Dist: empy==4.2.1
30
+ Requires-Dist: importlib_resources==7.1.0
31
+ Requires-Dist: jupyter==1.1.1
32
+ Requires-Dist: lxml-html-clean==0.4.5
32
33
  Requires-Dist: matplotlib>=3.6.1
33
- Requires-Dist: numpy<1.27,>=1.26
34
- Requires-Dist: papermill
35
- Requires-Dist: parsec>=3.15
36
- Requires-Dist: reportlab>=4.4.10
37
- Requires-Dist: scipy>=1.9
38
- Requires-Dist: types-reportlab>=4.4.10.20260223
34
+ Requires-Dist: numpy>=1.26
35
+ Requires-Dist: papermill==2.7.0
36
+ Requires-Dist: parsec==3.17
37
+ Requires-Dist: reportlab==5.0.0
38
+ Requires-Dist: scipy>=1.15
39
+ Requires-Dist: traits==7.1.0
40
+ Requires-Dist: traitsui==8.0.0
41
+ Requires-Dist: types-reportlab==4.5.1.20260712
39
42
  Dynamic: license-file
40
43
 
41
44
  [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/capn-freako/PyAMI/master.svg)](https://results.pre-commit.ci/latest/github/capn-freako/PyAMI/master)
@@ -5,25 +5,27 @@ 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 = "9.1.0"
8
+ version = "9.2.0"
9
9
  authors = [ {name = "David Banas", email = "capn.freako@gmail.com"}
10
10
  ]
11
11
  readme = "README.md"
12
- requires-python = ">=3.10,<3.13"
12
+ requires-python = ">=3.10,<3.14"
13
13
  dependencies = [
14
- "chaco>=6.0.0",
15
- "click>=8.1.3",
16
- "empy>=3.3.4",
17
- "importlib_resources",
18
- "jupyter",
19
- "lxml-html-clean>=0.4.4",
14
+ "chaco==6.1.1",
15
+ "click==8.4.2",
16
+ "empy==4.2.1",
17
+ "importlib_resources==7.1.0",
18
+ "jupyter==1.1.1",
19
+ "lxml-html-clean==0.4.5",
20
20
  "matplotlib>=3.6.1",
21
- "numpy>=1.26,<1.27",
22
- "papermill",
23
- "parsec>=3.15",
24
- "reportlab>=4.4.10",
25
- "scipy>=1.9",
26
- "types-reportlab>=4.4.10.20260223",
21
+ "numpy>=1.26",
22
+ "papermill==2.7.0",
23
+ "parsec==3.17",
24
+ "reportlab==5.0.0",
25
+ "scipy>=1.15",
26
+ "traits==7.1.0",
27
+ "traitsui==8.0.0",
28
+ "types-reportlab==4.5.1.20260712",
27
29
  ]
28
30
  keywords=["ibis-ami"]
29
31
  classifiers=[
@@ -36,6 +38,7 @@ classifiers=[
36
38
  "Programming Language :: Python :: 3.10",
37
39
  "Programming Language :: Python :: 3.11",
38
40
  "Programming Language :: Python :: 3.12",
41
+ "Programming Language :: Python :: 3.13",
39
42
  "Programming Language :: Python :: Implementation :: CPython",
40
43
  "Topic :: System :: Emulators",
41
44
  "Topic :: Utilities",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyibis-ami
3
- Version: 9.1.0
3
+ Version: 9.2.0
4
4
  Summary: Facilitates working directly with IBIS-AMI DLLs from the Python command prompt.
5
5
  Author-email: David Banas <capn.freako@gmail.com>
6
6
  Project-URL: Documentation, https://pyibis-ami.readthedocs.io/en/latest/
@@ -17,25 +17,28 @@ Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
20
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
21
22
  Classifier: Topic :: System :: Emulators
22
23
  Classifier: Topic :: Utilities
23
- Requires-Python: <3.13,>=3.10
24
+ Requires-Python: <3.14,>=3.10
24
25
  Description-Content-Type: text/markdown
25
26
  License-File: LICENSE
26
- Requires-Dist: chaco>=6.0.0
27
- Requires-Dist: click>=8.1.3
28
- Requires-Dist: empy>=3.3.4
29
- Requires-Dist: importlib_resources
30
- Requires-Dist: jupyter
31
- Requires-Dist: lxml-html-clean>=0.4.4
27
+ Requires-Dist: chaco==6.1.1
28
+ Requires-Dist: click==8.4.2
29
+ Requires-Dist: empy==4.2.1
30
+ Requires-Dist: importlib_resources==7.1.0
31
+ Requires-Dist: jupyter==1.1.1
32
+ Requires-Dist: lxml-html-clean==0.4.5
32
33
  Requires-Dist: matplotlib>=3.6.1
33
- Requires-Dist: numpy<1.27,>=1.26
34
- Requires-Dist: papermill
35
- Requires-Dist: parsec>=3.15
36
- Requires-Dist: reportlab>=4.4.10
37
- Requires-Dist: scipy>=1.9
38
- Requires-Dist: types-reportlab>=4.4.10.20260223
34
+ Requires-Dist: numpy>=1.26
35
+ Requires-Dist: papermill==2.7.0
36
+ Requires-Dist: parsec==3.17
37
+ Requires-Dist: reportlab==5.0.0
38
+ Requires-Dist: scipy>=1.15
39
+ Requires-Dist: traits==7.1.0
40
+ Requires-Dist: traitsui==8.0.0
41
+ Requires-Dist: types-reportlab==4.5.1.20260712
39
42
  Dynamic: license-file
40
43
 
41
44
  [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/capn-freako/PyAMI/master.svg)](https://results.pre-commit.ci/latest/github/capn-freako/PyAMI/master)
@@ -0,0 +1,15 @@
1
+ chaco==6.1.1
2
+ click==8.4.2
3
+ empy==4.2.1
4
+ importlib_resources==7.1.0
5
+ jupyter==1.1.1
6
+ lxml-html-clean==0.4.5
7
+ matplotlib>=3.6.1
8
+ numpy>=1.26
9
+ papermill==2.7.0
10
+ parsec==3.17
11
+ reportlab==5.0.0
12
+ scipy>=1.15
13
+ traits==7.1.0
14
+ traitsui==8.0.0
15
+ types-reportlab==4.5.1.20260712
@@ -567,8 +567,8 @@ class AMIModel: # pylint: disable=too-many-instance-attributes
567
567
  ignore_bits = info_params["Ignore_Bits"].pvalue
568
568
 
569
569
  # Capture/convert instance variables.
570
- chnl_imp = np.array(self.channel_response) * ts # input (a.k.a. - "channel") impulse response (V/sample)
571
- out_imp = np.array(self.initOut) * ts # output impulse response (V/sample)
570
+ chnl_imp = np.array(self.channel_response[:self.row_size]) * ts # input (a.k.a. - "channel") impulse response (V/sample)
571
+ out_imp = np.array(self.initOut[:self.row_size]) * ts # output impulse response (V/sample)
572
572
 
573
573
  # Calculate some needed intermediate values.
574
574
  nspui = int(ui / ts) # samps per UI
@@ -367,7 +367,8 @@ integ = lexeme(regex(r"[-+]?[0-9]+"))
367
367
  nat = lexeme(regex(r"[0-9]+"))
368
368
  # tap_ix = (integ << whitespace).parsecmap(int2tap) # Doesn't work!
369
369
  # tap_ix = integ.parsecmap(int2tap) # Breaks parsing of node names that begin with a numeral!
370
- tap_ix = integ.parsecmap(int2tap) << whitespace
370
+ # tap_ix = integ.parsecmap(int2tap) << whitespace # This fails; I don't know why.
371
+ tap_ix = lexeme(integ.parsecmap(int2tap)) # This works, as an alternative to the line above.
371
372
  symbol = lexeme(regex(r"[0-9a-zA-Z_][^\s()]*"))
372
373
  true = lexeme(string("True")).result(True)
373
374
  false = lexeme(string("False")).result(False)
@@ -459,7 +459,7 @@ def test_ami_model(
459
459
 
460
460
  # Fetch parameter sweepers or create a defaults template.
461
461
  flowables.append(Paragraph("AMI Parameter Sweeps Info", H2))
462
- model_sweeps_dir = test_sweeps_dir / ibis_file.parent.relative_to(test_sweeps_dir.parent) / ibis_file.stem / model_name
462
+ model_sweeps_dir = test_sweeps_dir / ibis_file.stem / model_name
463
463
  test_sweepers = get_all_sweepers(model_sweeps_dir)
464
464
  if test_sweepers:
465
465
  flowables.append(Paragraph("Using parameter sweep definitions in:", P))
@@ -1,13 +0,0 @@
1
- chaco>=6.0.0
2
- click>=8.1.3
3
- empy>=3.3.4
4
- importlib_resources
5
- jupyter
6
- lxml-html-clean>=0.4.4
7
- matplotlib>=3.6.1
8
- numpy<1.27,>=1.26
9
- papermill
10
- parsec>=3.15
11
- reportlab>=4.4.10
12
- scipy>=1.9
13
- types-reportlab>=4.4.10.20260223
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes