Electronic circuit design tools.
Project description
About
Electronic circuit design in Python 3.
IBIS parsing.
Project homepage: https://github.com/eerimoq/ecdtools
Documentation: http://ecdtools.readthedocs.org/en/latest
Installation
pip install ecdtools
Example usage
In this example we load an IBS-file and access some of its content.
>>> from pprint import pprint
>>> import ecdtools
>>> ibs_file = ecdtools.ibis.load_file('tests/files/ibis/pybis/bushold.ibs')
>>> model = ibs_file.get_model_by_name('TOP_MODEL_BUS_HOLD')
>>> model.model_type
'Input'
>>> pprint(model.gnd_clamp)
[('-2.0000e+00', '-6.158e+17', 'NA', 'NA'),
('-1.9000e+00', '-1.697e+16', 'NA', 'NA'),
('-1.8000e+00', '-4.679e+14', 'NA', 'NA'),
('-1.7000e+00', '-1.290e+13', 'NA', 'NA'),
('-1.6000e+00', '-3.556e+11', 'NA', 'NA'),
('-1.5000e+00', '-9.802e+09', 'NA', 'NA'),
('-1.4000e+00', '-2.702e+08', 'NA', 'NA'),
('-1.3000e+00', '-7.449e+06', 'NA', 'NA'),
('-1.2000e+00', '-2.053e+05', 'NA', 'NA'),
('-1.1000e+00', '-5.660e+03', 'NA', 'NA'),
('-1.0000e+00', '-1.560e+02', 'NA', 'NA'),
('-9.0000e-01', '-4.308e+00', 'NA', 'NA'),
('-8.0000e-01', '-1.221e-01', 'NA', 'NA'),
('-7.0000e-01', '-4.315e-03', 'NA', 'NA'),
('-6.0000e-01', '-1.715e-04', 'NA', 'NA'),
('-5.0000e-01', '-4.959e-06', 'NA', 'NA'),
('-4.0000e-01', '-1.373e-07', 'NA', 'NA'),
('-3.0000e-01', '-4.075e-09', 'NA', 'NA'),
('-2.0000e-01', '-3.044e-10', 'NA', 'NA'),
('-1.0000e-01', '-1.030e-10', 'NA', 'NA'),
('0.', '0', 'NA', 'NA'),
('5', '0', 'NA', 'NA')]
Contributing
Fork the repository.
Install prerequisites.
pip install -r requirements.txt
Implement the new feature or bug fix.
Implement test case(s) to ensure that future changes do not break legacy.
Run the tests.
make test
Create a pull request.
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
ecdtools-0.2.0.tar.gz
(261.3 kB
view hashes)
Built Distribution
Close
Hashes for ecdtools-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ce57cf77d38d321f1e98f056095cfdd69f082286d74fc5d47b0423f5c38c91 |
|
MD5 | 63d8f6ba81abd0ad6ab6a6aded923707 |
|
BLAKE2b-256 | d668f0b98b5f4dc2ec1a2ed64f7d1713a2cd5da540fa72f1eaf9f076222ed477 |