Skip to content

Commit 312d9d6

Browse files
committed
Fixing typo in SIR and SEIR parameters
1 parent 998b651 commit 312d9d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SEIR/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
@def hassim=true;
88
@def title = "SEIR solver"
9-
@def params = (a=(val=0.33, desc="Inverse of the average incubation period."), beta=(val=0.33, desc="A parameter that pertains to how many contacts there are per person and how easily the disease spreads from an infected person to an infected person."), gamma=(val=0.25, desc="A parameter that is a measure of how quickly people recover from the disease."), delta=(val=0.5, desc="A parameter with values from 0 to 1 pertaining to how effective quarantine measures are at slowing the disease outbreak. If \\(\\delta = 0\\), the measures are either non-existent or completely ineffective. If \\(\\delta = 1\\), all infected persons are immediately, as soon as they become infected, quarantined."), lambda=(val=1e-4, desc="Birth rate."), mu=(val=1e-5, desc="Death rate."), tf=(val=300,), S0=(val=89,), E0=(val=0,), I0=(val=11,), R0=(val=0,), epsilon=(val=1e-11,))
9+
@def params = (a=(val=0.33, desc="Inverse of the average incubation period."), beta=(val=0.33, desc="A parameter that pertains to how many contacts there are per person and how easily the disease spreads from an infected person to an uninfected person."), gamma=(val=0.25, desc="A parameter that is a measure of how quickly people recover from the disease."), delta=(val=0.5, desc="A parameter with values from 0 to 1 pertaining to how effective quarantine measures are at slowing the disease outbreak. If \\(\\delta = 0\\), the measures are either non-existent or completely ineffective. If \\(\\delta = 1\\), all infected persons are immediately, as soon as they become infected, quarantined."), lambda=(val=1e-4, desc="Birth rate."), mu=(val=1e-5, desc="Death rate."), tf=(val=300,), S0=(val=89,), E0=(val=0,), I0=(val=11,), R0=(val=0,), epsilon=(val=1e-11,))
1010
@def ids = ["tableOutputs", "phasePlotSIR", "phasePlotSEI", "phasePlotSER", "phasePlotEIR", "phasePlotSI", "phasePlotSR", "phasePlotIR", "timePlot", "phasePlotSIR", "animationSIR", "animationSEI", "animationSER", "animationEIR", "animationSIR", "animationSIR"];
1111
@def vars=["S", "E", "I", "R"]
1212
@def funcs = ["fillTable(readInputs(), ['Susceptible', 'Exposed', 'Infectious', 'Recovered'])","removeTable()","generateSIRPhasePlot(solveProblem(RKF45, readInputs()))","removeSIRPhasePlot()","generateSEIPhasePlot(solveProblem(RKF45, readInputs()))","removeSEIPhasePlot()","generateSERPhasePlot(solveProblem(RKF45, readInputs()))","removeSERPhasePlot()","generateEIRPhasePlot(solveProblem(RKF45, readInputs()))","removeEIRPhasePlot()","generateSIPhasePlot(solveProblem(RKF45, readInputs()))","removeSIPhasePlot()","generateSRPhasePlot(solveProblem(RKF45, readInputs()))","removeSRPhasePlot()","generateIRPhasePlot(solveProblem(RKF45, readInputs()))","removeIRPhasePlot()","generateTimePlot(solveProblem(RKF45, readInputs()))","removeTimePlot()","generatePlots(readInputs())","removePlots()","generateAnimationSIR()","removeAnimationSIR()","generateAnimationSEI()","removeAnimationSEI()","generateAnimationSER()","removeAnimationSER()","generateAnimationEIR()","removeAnimationEIR()","generateAnimations()","removeAnimations()","generateAllOutputs()", "removeAllOutputs()"]

SIR/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@def hassim=true;
88
@def vars = ["S", "I", "R"]
99
@def title = "SIR equations solver"
10-
@def params = (beta=(val=0.33, desc="A parameter that pertains to how many contacts there are per person and how easily the disease spreads from an infected person to an infected person."), gamma=(val=0.25, desc="A parameter that is a measure of how quickly people recover from the disease."), delta=(val=0.5, desc="A parameter with values from 0 to 1 pertaining to how effective quarantine measures are at slowing the disease outbreak. If \\(\\delta = 0\\), the measures are either non-existent or completely ineffective. If \\(\\delta = 1\\), all infected persons are immediately, as soon as they become infected, quarantined."), tf=(val=300,), S0=(val=89,), I0=(val=1,), R0=(val=0,), epsilon=(val=1e-11,))
10+
@def params = (beta=(val=0.33, desc="A parameter that pertains to how many contacts there are per person and how easily the disease spreads from an infected person to an uninfected person."), gamma=(val=0.25, desc="A parameter that is a measure of how quickly people recover from the disease."), delta=(val=0.5, desc="A parameter with values from 0 to 1 pertaining to how effective quarantine measures are at slowing the disease outbreak. If \\(\\delta = 0\\), the measures are either non-existent or completely ineffective. If \\(\\delta = 1\\), all infected persons are immediately, as soon as they become infected, quarantined."), tf=(val=300,), S0=(val=89,), I0=(val=1,), R0=(val=0,), epsilon=(val=1e-11,))
1111
@def ids = ["tableOutputs", "phasePlotSIR", "phasePlotSI", "phasePlotSR", "phasePlotIR", "timePlot", "phasePlotSIR", "animation", "animation"]
1212
@def funcs = ["generateTable()", "removeTable()", "generateSIRPhasePlot(solveProblem(RKF45, readInputs()))", "removeSIRPhasePlot()", "generateSIPhasePlot(solveProblem(RKF45, readInputs()))", "removeSIPhasePlot()", "generateSRPhasePlot(solveProblem(RKF45, readInputs()))", "removeSRPhasePlot()", "generateIRPhasePlot(solveProblem(RKF45, readInputs()))", "removeIRPhasePlot()", "generateTimePlot(solveProblem(RKF45, readInputs()))", "removeTimePlot()", "generatePlots(readInputs())", "removePlots()", "generateAnimation()", "removeAnimation()", "generateAllOutputs()", "removeAllOutputs()"]
1313
@def labels = ["Tabulate the solution", "Remove the table", "Generate \\(S\\), \\(I\\) and \\(R\\) 3D phase plot", "Remove \\(S\\), \\(I\\) and \\(R\\) 3D phase plot", "Generate \\(S\\) and \\(I\\) phase plot", "Remove \\(S\\) and \\(I\\) phase plot", "Generate \\(S\\) and \\(R\\) phase plot", "Remove \\(S\\) and \\(R\\) phase plot", "Generate \\(I\\) and \\(R\\) phase plot", "Remove \\(I\\) and \\(R\\) phase plot", "Generate time plot for \\(S\\), \\(I\\) and \\(R\\)", "Remove time plot", "Generate all solution plots", "Remove all plots", "Generate an animation", "Remove animation","Generate all outputs","Remove all outputs"]

0 commit comments

Comments
 (0)