This repository contains the package phlearn for modelling pseudo-Hamiltonian ODE and PDE systems with neural networks, and example scripts for training and simulation.
See (Eidnes et al., 2022) for a description of PHNN for ODEs. See (Eidnes and Lye, 2023) for a description of PHNN for PDEs.
The phlearn package is available via PyPi:
pip install phlearn
Alternatively, to get the latest updates not yet available on PyPi, you can clone this repository and install directly:
git clone https://github.com/SINTEF/pseudo-Hamiltonian-neural-networks.git
cd pseudo-Hamiltonian-neural-networks
pip install -e phlearn
Camilla Sterud: [email protected] Sølve Eidnes: [email protected] Eivind Bøhn: [email protected] Signe Riemer-Sørensen: [email protected] Alexander Stasik: [email protected] Kjetil Olsen Lye: [email protected] Ben Tapley: [email protected]