Skip to main content

workflow Documentation Status codecov

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.

Metadata

Release files for chaste-codegen 0.10.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chaste-codegen 0.10.6
File Size Uploaded
chaste_codegen-0.10.6.tar.gz 84.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chaste-codegen 0.10.6
File Interpreter ABI Platform
chaste_codegen-0.10.6-py3-none-any.whl Python 3 none any Details

Total release size: 202.3 kB

Release files / chaste_codegen-0.10.6.tar.gz

Download URL chaste_codegen-0.10.6.tar.gz
Size 84.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b33a589f8e5fba2cf4ac778ea0a62bd616bbaf570a4f508cefd0062a5316f8cf
BLAKE2b-256 checksum
How to use checksums
af1cd7cb15dbc4dd92df2eaa6c183d70228af19d346af178d83dd73fe9f567f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / chaste_codegen-0.10.6-py3-none-any.whl

Download URL chaste_codegen-0.10.6-py3-none-any.whl
Size 118.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b6abcc03a1598accb370764adac5cac029aae710dac99d3b44e083a4e341ed0
BLAKE2b-256 checksum
How to use checksums
816f26e6610fec0d548ba1875669f8c2b237b057dfb4bf2d1c677accf08fda4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.10.6 This release

2 release files

0.10.5

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page