Skip to main content

A library for solving differential equations with PINNs and DeepONets

Project description

PinnDE

Physics Informed Neural Networks for Differential Equations (PinnDE) is an open-source library in Python 3 for solving ordinary and partial differential equations (ODEs and PDEs) using both physics informed neural networks (PINNs) and deep operator networks (DeepONets). The goal of PinnDE is to provide a user-friendly library as an alternative to the more powerful but more complex alternative packages that are available within this field. This library provides simple, user-friendly interfacing of solving methods which can easily be used in collaboration with non-proficient users of python or the library, where collaborators should be able to understand the contents of the code quickly and without having to learn the library themselves. We also propose the use of PinnDE for education use. Methods in this field may be taught by educators at a low level may be understandable to students, but the code to implement these ideas can be large and more difficult to grasp. PinnDE provides simple implementations where students can experiment with different variations of model parameters and training methods without needing to delve into low level implementations.

The documentation can be found here

Installation

This package requires numpy, tensorflow, jax/flax/optax, matplotlib, and pyDOE. These are all installed with the package. If version of a package already installed which is above the requirements for PinnDE, then currently package won't be upgraded when installed.

Installing can simply be done with pip in the command line with

pip install pinnde

Citing

If PinnDE is used in academic research, please cite the paper found here, or with the corresponding BibTex citation

@article{matthews2024pinnde,
        title={PinnDE: Physics-Informed Neural Networks for Solving Differential Equations},
        author={Matthews, Jason and Bihlo, Alex},
        journal={arXiv preprint arXiv:2408.10011},
        year={2024}
}

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

pinnde-1.0.1.tar.gz (107.5 kB view details)

Uploaded Source

Built Distribution

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

pinnde-1.0.1-py3-none-any.whl (262.5 kB view details)

Uploaded Python 3

File details

Details for the file pinnde-1.0.1.tar.gz.

File metadata

  • Download URL: pinnde-1.0.1.tar.gz
  • Upload date:
  • Size: 107.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for pinnde-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d0d08e551dc1c1b1944deccaf41262ba118b877c22166a0ecfb1c8e7ba20cf66
MD5 c28a7a024f23f149349bda5ddb207da4
BLAKE2b-256 9b582491f2ee88bafa7c669533a91e7b7df0865deaa4a6ac76fb4ef6bcd61b59

See more details on using hashes here.

File details

Details for the file pinnde-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pinnde-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 262.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for pinnde-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48e68e2ccd7f2c229dbbc440aeb0730f0e82964d422c6a8eaab896ef521ae05b
MD5 3987b26cb69acb1cea6d68271555eaf6
BLAKE2b-256 479e718a8a81cd1b2c2d2bc87516b35547692d2212baaecc3a540926b371e65c

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