Code generation for cardiac Chaste
Reason this release was yanked:
incompatible with python 3.10 due to pulling in an incompatible pints version
Project description
Code generation for cardiac Chaste
The chaste_codegen
module takes CellML models as input, via cellmlmanip to read and manipulate them, then uses templating to generate C++ code.
The jinja2 templating engine is used.
Installing
We recommend installing chaste_codegen in a virtual environment (using virtualenv or conda)
Users install chaste_codegen
using pip.
pip install chaste_codegen
Using chaste_codegen
After installation, chaste_codegen can be called using the chaste_codegen
command:
usage: chaste_codegen [-h] [--version] [--normal] [--cvode]
[--cvode-data-clamp] [--backward-euler] [--rush-larsen]
[--grl1] [--grl2] [--rush-larsen-labview]
[--rush-larsen-c] [-j] [-o OUTFILE]
[--output-dir OUTPUT_DIR] [--show-outputs] [-c CLS_NAME]
[-q] [--skip-ingularity-fixes] [-y] [--opt] [-m]
[--lookup-table <metadata tag> min max step]
[--use-model-factory]
cellml_file
chaste_codegen: error: the following arguments are required: cellml_file
For more information about the available options call
chaste_codegen -h
or see the CodeGenerationFromCellML guide
Release notes
For release notes see RELEASE.md
Documentation
API documentation explaining how to use cellmlmanip can be found on readthedocs
Contributing
For guidelines on contributing to chaste_codegen
, please see CONTRIBUTING.md.
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
Built Distribution
File details
Details for the file chaste_codegen-0.9.1.tar.gz
.
File metadata
- Download URL: chaste_codegen-0.9.1.tar.gz
- Upload date:
- Size: 81.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2484f5477529872e3e7d83ed9496b3074e6c058080b8df4b368d7fbc184a5524 |
|
MD5 | d393df0d4524b6273e79033bd3c42f6b |
|
BLAKE2b-256 | a616be664dd47cfdefbc7f5d1096e14fe55eceaf33c3950e309b5b64fa5b3a33 |
File details
Details for the file chaste_codegen-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: chaste_codegen-0.9.1-py3-none-any.whl
- Upload date:
- Size: 116.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 912702462993b0ff4e0717dbc0a2f1a8419c55f5e408519d244c16765cf41198 |
|
MD5 | 76def7c156bb096d46728223392a5a07 |
|
BLAKE2b-256 | f8dc7add7cf942c549f667204392f9f19fd56051d62059497a8ce483f25afdbe |