Skip to content

Commit

Permalink
Add caption to figure and try with aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
finsberg committed Aug 17, 2024
1 parent 4ab865d commit 107f205
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion joss-paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 107f205

Please sign in to comment.