You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/inverse_problems/petab_ode_param_fitting.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,10 +134,10 @@ PEtab.jl also supports [multistart optimisation](@ref petab_multistart_optimisat
134
134
It is possible for observables to be any algebraic expression of species concentrations and parameters. E.g. in this example the total amount of `X` in the system is an observable:
135
135
```@example petab2
136
136
using Catalyst, PEtab # hide
137
-
rn = @reaction_network begin
137
+
two_state_model = @reaction_network begin
138
138
(k1,k2), X1 <--> X2
139
139
end
140
-
@unpack X1, X2 = rn
140
+
@unpack X1, X2 = two_state_model
141
141
obs_X = PEtabObservable(X1 + X2, 0.5)
142
142
```
143
143
@@ -172,7 +172,7 @@ nothing # hide
172
172
```
173
173
We then provide `parameter_map=[:kB => 1.0]` when we assembly our model:
@@ -380,10 +380,10 @@ While in our basic example, we do not provide any additional information to our
380
380
381
381
Here is an example, taken from the [more detailed PEtab.jl documentation](https://sebapersson.github.io/PEtab.jl/dev/Boehm/#Creating-a-PEtabODEProblem)
where we simulate our ODE model using the `Rodas5p` method (with absolute and relative tolerance both equal `1e-8`) and use [forward automatic differentiation](https://github.com/JuliaDiff/ForwardDiff.jl) for both gradient and hessian computation. More details on available ODE solver options can be found in [the PEtab.jl documentation](https://sebapersson.github.io/PEtab.jl/dev/API_choosen/#PEtab.ODESolver).
0 commit comments