Skip to content

Commit

Permalink
Many tests updated with more exact tolerances
Browse files Browse the repository at this point in the history
Makes it easier to see if there is even a tiny change in behaviour of
simulators
  • Loading branch information
pgleeson committed Aug 23, 2023
1 parent 6a5c508 commit e71ee59
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 43 deletions.
6 changes: 3 additions & 3 deletions LEMSexamples/test/.test.ex0.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: -55.1
tolerance: 0.000103245345356
tolerance: 0.00010324534535558631
iafTauRefPop0:
observables:
spike times:
Expand All @@ -25,7 +25,7 @@ experiments:
spike detection:
method: threshold
threshold: -55.1
tolerance: 0.000217391304348
tolerance: 0.0002173913043479373
iafPop0:
observables:
spike times:
Expand All @@ -47,4 +47,4 @@ experiments:
spike detection:
method: threshold
threshold: -55.1
tolerance: 0.00029197080292
tolerance: 0.00029197080291964994
2 changes: 1 addition & 1 deletion LEMSexamples/test/.test.ex1.jnmlbrian2.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.00307936823284
tolerance: 0.0030793682328399945
2 changes: 1 addition & 1 deletion LEMSexamples/test/.test.ex1.pylems.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.00317871
tolerance: 0.0031787026920254624
20 changes: 10 additions & 10 deletions LEMSexamples/test/.test.ex14.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ experiments:
spike detection:
method: threshold
threshold: -50.1
tolerance: 0.000448
tolerance: 0.0004471414883424601

pop_IF_cond_alpha:
observables:
Expand All @@ -27,7 +27,7 @@ experiments:
spike detection:
method: threshold
threshold: -50.1
tolerance: 0.00062
tolerance: 0.0006190161769562318

pop_EIF_cond_exp_isfa_ista:
observables:
Expand All @@ -39,7 +39,7 @@ experiments:
spike detection:
method: threshold
threshold: -45
tolerance: 0.00526
tolerance: 0.005258009293225811

pop_HH_cond_exp:
observables:
Expand All @@ -51,7 +51,7 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.000969
tolerance: 0.0009680542110359693

pop_post_0:
observables:
Expand All @@ -63,7 +63,7 @@ experiments:
spike detection:
method: threshold
threshold: -64
tolerance: 0.0047079
tolerance: 0.004707896426278445
pop_post_1:
observables:
spike times:
Expand All @@ -74,7 +74,7 @@ experiments:
spike detection:
method: threshold
threshold: -64
tolerance: 0.004365
tolerance: 0.0006429489927132692
pop_post_2:
observables:
spike times:
Expand All @@ -85,7 +85,7 @@ experiments:
spike detection:
method: threshold
threshold: -61.5
tolerance: 0.000527
tolerance: 0.0005269481272263558
pop_post_3:
observables:
spike times:
Expand All @@ -96,7 +96,7 @@ experiments:
spike detection:
method: threshold
threshold: -60.3
tolerance: 0.000582
tolerance: 0.0005811506783431604


pop_post_1_g:
Expand All @@ -109,7 +109,7 @@ experiments:
spike detection:
method: threshold
threshold: 0.003
tolerance: 0.00467
tolerance: 0.004669852302345706

pop_post_2_g:
observables:
Expand All @@ -121,4 +121,4 @@ experiments:
spike detection:
method: threshold
threshold: 0.003
tolerance: 0.004153
tolerance: 0.0004616805170822513
4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex16.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.0000283
tolerance: 2.821073418449185e-05
array:
observables:
spike times:
Expand All @@ -36,5 +36,5 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.000136
tolerance: 0.00013585351447132978

4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex19.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: -69.5
tolerance: 0.000595
tolerance: 0.0005517826825127141
cell1:
observables:
spike times:
Expand All @@ -25,5 +25,5 @@ experiments:
spike detection:
method: threshold
threshold: -69.5
tolerance: 0.000549
tolerance: 0.0005482729402381759

4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex19a.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: -69.5
tolerance: 0.000551783
tolerance: 0.0005517826825127141
cell1:
observables:
spike times:
Expand All @@ -25,5 +25,5 @@ experiments:
spike detection:
method: threshold
threshold: -69.5
tolerance: 0.000549
tolerance: 0.0005482729402381759

4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex19a.jnmlnetpyne.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: -69.5
tolerance: 2.04398659145e-05 # Slight difference since Netpyne uses Parallel Neuron...
tolerance: 2.043986591446101e-05 # Slight difference since Netpyne uses Parallel Neuron...
cell1:
observables:
spike times:
Expand All @@ -25,5 +25,5 @@ experiments:
spike detection:
method: threshold
threshold: -69.5
tolerance: 0.00011576 # Slight difference since Netpyne uses Parallel Neuron...
tolerance: 0.00011575413821050024 # Slight difference since Netpyne uses Parallel Neuron...

4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex20a.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.00328
tolerance: 0.0032729103726082866
cell1:
observables:
spike times:
Expand All @@ -25,5 +25,5 @@ experiments:
spike detection:
method: threshold
threshold: -64.4
tolerance: 0.0032
tolerance: 0.0031956858241373462

2 changes: 1 addition & 1 deletion LEMSexamples/test/.test.ex21.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ experiments:
spike detection:
method: threshold
threshold: 0.4
tolerance: 1e-05
tolerance: 9.61982453430972e-06
12 changes: 6 additions & 6 deletions LEMSexamples/test/.test.ex26.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ experiments:
scaling: [1000, 1000]
spike detection:
method: threshold
tolerance: 0.000824
tolerance: 0.0008233502120126329
pre2:
observables:
spike times:
Expand All @@ -23,7 +23,7 @@ experiments:
scaling: [1000, 1000]
spike detection:
method: threshold
tolerance: 0.00163
tolerance: 0.0016230002318570178
post3:
observables:
spike times:
Expand All @@ -34,7 +34,7 @@ experiments:
spike detection:
method: threshold
threshold: -64.9
tolerance: 0.000675
tolerance: 0.0006741573033705991
post5:
observables:
spike times:
Expand All @@ -45,7 +45,7 @@ experiments:
spike detection:
method: threshold
threshold: -64.9
tolerance: 0.000781
tolerance: 0.0007801438932069167
post6:
observables:
spike times:
Expand All @@ -56,7 +56,7 @@ experiments:
spike detection:
method: threshold
threshold: -64.33
tolerance: 0.00077
tolerance: 0.0007690128303719501
post8:
observables:
spike times:
Expand All @@ -67,5 +67,5 @@ experiments:
spike detection:
method: threshold
threshold: -64.33
tolerance: 0.001031
tolerance: 0.0010306622004639067

4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex5.jnml.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.0034
tolerance: 0.0032729103726082866
m:
observables:
spike times:
Expand All @@ -25,4 +25,4 @@ experiments:
spike detection:
method: threshold
threshold: 0.9
tolerance: 0.0034
tolerance: 0.0033697128199969193
4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex5.jnmlbrian2.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.001712
tolerance: 0.0017119838872103473
m:
observables:
spike times:
Expand All @@ -25,4 +25,4 @@ experiments:
spike detection:
method: threshold
threshold: 0.9
tolerance: 0.00166
tolerance: 0.0016597092994015616
2 changes: 1 addition & 1 deletion LEMSexamples/test/.test.ex5.jnmlmoose.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.000985869208018
tolerance: 0.0009566968781470178
4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex5.pylems.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: 0
tolerance: 0.001713
tolerance: 0.0017119838869209783
m:
observables:
spike times:
Expand All @@ -25,4 +25,4 @@ experiments:
spike detection:
method: threshold
threshold: 0.9
tolerance: 0.00167
tolerance: 0.0016597092991110977
4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex6.pylems.omt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experiments:
spike detection:
method: threshold
threshold: -32
tolerance: 0.0155
tolerance: 0.0001740795539690298
g:
observables:
spike times:
Expand All @@ -25,4 +25,4 @@ experiments:
spike detection:
method: threshold
threshold: 1e-11
tolerance: 0.00742
tolerance: 0.00013229263125557245
4 changes: 2 additions & 2 deletions LEMSexamples/test/.test.ex9.pylems.omt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ experiments:
scaling: [1000, 1000]
spike detection:
method: derivative
tolerance: 0.004099
tolerance: 0.004098360655740874
W:
observables:
spike times:
Expand All @@ -23,4 +23,4 @@ experiments:
scaling: [1000, 1]
spike detection:
method: derivative
tolerance: 0.000616
tolerance: 0.0006150061500774979

0 comments on commit e71ee59

Please sign in to comment.