From 107f20580a3d1c4bb8ab877be9baa4fa2febe44d Mon Sep 17 00:00:00 2001 From: Henrik Finsberg Date: Sat, 17 Aug 2024 21:49:03 +0200 Subject: [PATCH] Add caption to figure and try with aligned --- joss-paper/paper.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/joss-paper/paper.md b/joss-paper/paper.md index 86a39a4..92af992 100644 --- a/joss-paper/paper.md +++ b/joss-paper/paper.md @@ -66,8 +66,10 @@ dy_dt = -x defines the ODE system $$ +\begin{aligned} \frac{dx}{dt} = ay \\ \frac{dy}{dt} = -x +\end{aligned} $$ with the initial conditions $x(0) = 1$ and $y(0) = 0$ and the parameter $a$ with a value of 1.0. We can now generate code for solving the ODE using the Generalized Rush-Larsen scheme [@sundnes2009second] with the following command (assuming you wrote the ODE in the file `file.ode`) @@ -101,7 +103,7 @@ plt.plot(t, y, label="y") plt.legend() plt.show() ``` -![_](../docs/_static/quick_start.png) +![Plot of solution of ODE](../docs/_static/quick_start.png) At the time of writing `gotranx` support code generation to C and Python, with backends for [`numpy`](https://numpy.org) and [`jax`](https://jax.readthedocs.io/). It also supports conversion to and from [CellML](https://www.cellml.org) via [MyoKit](https://myokit.org). For a list of all features and the roadmap, please checkout the [roadmap](https://finsberg.github.io/gotranx/docs/roadmap.html).