Skip to main content

A declarative language describing ordinary differential equations.

Project description

CI pre-commit.ci status codecov

Gotran - General ODE TRAnslator

Gotran:

  • provides a Python interface to declare arbitrary ODEs.

  • provides an interface for generating CUDA/C/C++/OpenCL/Julia/Python/Matlab code for a number of functions including the right hand side and symbolic generation of a Jacobian.

  • is intentionally lightweight, and could be interfaced by other Python libraries needing functionalities to abstract a general ODE.

  • depends on NumPy, and on SymPy. See further instructions in INSTALL

  • can load models from external ODE description files such as CellML

Install

You can install gotran through pip

python -m pip install gotran

or conda

conda install -c comphy gotran

or if you want to work with the latest version you can install the developement version by either cloning the repository and run

python -m pip install .

inside the root directory or run

python -m pip install git+https://github.com/ComputationalPhysiology/gotran.git

Documentation

Documentation can be found here: http://computationalphysiology.github.io/gotran/

Source code

Source code can be found at https://github.com/ComputationalPhysiology/gotran.

License

gotran is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

gotran is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with gotran. If not, see http://www.gnu.org/licenses/.

Contributors

Gotran is developed by Johan Hake. The version of gotran found in this repository is maintained by Henrik Finsberg and Kristian Hustad.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gotran-2022.0.0.tar.gz (129.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gotran-2022.0.0-py3-none-any.whl (154.8 kB view details)

Uploaded Python 3

File details

Details for the file gotran-2022.0.0.tar.gz.

File metadata

  • Download URL: gotran-2022.0.0.tar.gz
  • Upload date:
  • Size: 129.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gotran-2022.0.0.tar.gz
Algorithm Hash digest
SHA256 81cd944819c91fe2078d090c9b38bcf7c18113362282f33409d92b79e2278316
MD5 1071ce3467b42666349c53189e16206d
BLAKE2b-256 be8a2488ffb70ccf0a7e71e56ecb04224c4be39be2028b8112d0870bca88fea4

See more details on using hashes here.

File details

Details for the file gotran-2022.0.0-py3-none-any.whl.

File metadata

  • Download URL: gotran-2022.0.0-py3-none-any.whl
  • Upload date:
  • Size: 154.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gotran-2022.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af1894c8771ca772398f773ec0942334215eed35e68132baa209e1fa43417f51
MD5 a4b1a1175cf6085ada3339c1663291fa
BLAKE2b-256 c4318bf2a7ddb197506907f4ece92302ccbe8f2ece4b2ada015bfcae1859c042

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page