Skip to content

Commit 0724628

Browse files
Updates
1 parent 3ec57ed commit 0724628

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

benchmarks/ParameterEstimation/FitzHughNagumoParameterEstimation.jmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ prob_short = ODEProblem(fitz, r0, tspan2,p)
5353
dt = 30.0/3000
5454
tf = 30.0
5555
tinterval = 0:dt:tf
56-
t = collect(tinterval)
56+
time_points = collect(tinterval)
5757
```
5858

5959
```julia
@@ -69,7 +69,7 @@ t_short = collect(tinterval_short)
6969
#Generate Data
7070
data_sol_short = solve(prob_short,Vern9(),saveat=t_short,reltol=1e-9,abstol=1e-9)
7171
data_short = convert(Array, data_sol_short) # This operation produces column major dataset obs as columns, equations as rows
72-
data_sol = solve(prob,Vern9(),saveat=t,reltol=1e-9,abstol=1e-9)
72+
data_sol = solve(prob,Vern9(),saveat=time_points,reltol=1e-9,abstol=1e-9)
7373
data = convert(Array, data_sol)
7474
```
7575

benchmarks/ParameterEstimation/LorenzParameterEstimation.jmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ prob_short = ODEProblem(g1, r0, tspan2,p)
5757
dt = 30.0/3000
5858
tf = 30.0
5959
tinterval = 0:dt:tf
60-
t = collect(tinterval)
60+
time_points = collect(tinterval)
6161
```
6262

6363
```julia
@@ -73,7 +73,7 @@ t_short = collect(tinterval_short)
7373
# Generate Data
7474
data_sol_short = solve(prob_short,Vern9(),saveat=t_short,reltol=1e-9,abstol=1e-9)
7575
data_short = convert(Array, data_sol_short) # This operation produces column major dataset obs as columns, equations as rows
76-
data_sol = solve(prob,Vern9(),saveat=t,reltol=1e-9,abstol=1e-9)
76+
data_sol = solve(prob,Vern9(),saveat=time_points,reltol=1e-9,abstol=1e-9)
7777
data = convert(Array, data_sol)
7878
```
7979

benchmarks/ParameterEstimation/LotkaVolterraParameterEstimation.jmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ prob_short = ODEProblem(f, u0, tspan2,p)
5454
dt = 30.0/3000
5555
tf = 30.0
5656
tinterval = 0:dt:tf
57-
t = collect(tinterval)
57+
time_points = collect(tinterval)
5858
```
5959

6060
```julia
@@ -70,7 +70,7 @@ t_short = collect(tinterval_short)
7070
#Generate Data
7171
data_sol_short = solve(prob_short,Tsit5(),saveat=t_short,reltol=1e-9,abstol=1e-9)
7272
data_short = convert(Array, data_sol_short)
73-
data_sol = solve(prob,Tsit5(),saveat=t,reltol=1e-9,abstol=1e-9)
73+
data_sol = solve(prob,Tsit5(),saveat=time_points,reltol=1e-9,abstol=1e-9)
7474
data = convert(Array, data_sol)
7575
```
7676

0 commit comments

Comments
 (0)