-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
# Getting Started | ||
|
||
`Exponax` is a suite for building Fourier spectral ETDRK time-steppers for | ||
semi-linear PDEs in 1d, 2d, and 3d. There are many pre-built dynamics and plenty | ||
of helpful utilities. It is extremely efficient, is differentiable (due to being | ||
fully written in JAX), and embeds seamlessly into deep learning. | ||
|
||
## Installation | ||
|
||
```bash | ||
pip install git+ssh://[email protected]/Ceyron/exponax@main | ||
pip install exponax | ||
``` | ||
|
||
Requires Python 3.10+ and JAX 0.4.13+. 👉 [JAX install guide](https://jax.readthedocs.io/en/latest/installation.html). | ||
|
||
## Quickstart | ||
|
||
1d Kuramoto-Sivashinsky Equation. | ||
|
@@ -30,9 +37,11 @@ plt.imshow(trajectory[:, 0, :].T, aspect='auto', cmap='RdBu', vmin=-2, vmax=2, o | |
plt.xlabel("Time"); plt.ylabel("Space"); plt.show() | ||
``` | ||
|
||
![](imgs/ks_rollout.png) | ||
![](https://github.com/user-attachments/assets/e4889898-9a74-4b6f-9e88-ee12706b2f6c) | ||
|
||
For a next step, check out the [simple_advection_example_1d.ipynb](examples/simple_advection_example_1d.ipynb) notebook in the `examples` folder, and check out the <a href="#documentation">Documentation</a>. | ||
For a next step, check out [this tutorial on 1D | ||
Advection](https://fkoehler.site/exponax/examples/simple_advection_example_1d/) | ||
that explains the basics of `Exponax`. | ||
|
||
## Features | ||
|
||
|