Corona.jl performs the assimilation of epidemiological data using an augmented SIR model.
You can get started with Corona.jl in a few steps:
- Install Corona.jl
- Install the dependecies
- Prepare data
- Run the data assimilation
- Analyze the results
- Clone Corona.jl (replace
/path/to/julia/modules
with your desired path):
git clone https://github.com/sesterhenn/Corona.jl /path/to/julia/modules/Corona
- Add to
~/.julia/config/startup.jl
the following line (unless/path/to/julia/modules
is already added to your JuliaLOAD_PATH
variable):
push!(LOAD_PATH,"/path/to/julia/modules/Corona")
Execute
] add Dates TimeSeries DataStructures DifferentialEquations LinearAlgebra Flux Interpolations FFTW FileIO JLD2 DataFrames Unicode CSV Formatting Plots LaTeXStrings
from the Julia REPL.
- Provide your preferred data paths in
config/paths.jl
as shown inconfig/example-paths.jl
. - Provide information on the data sources in
config/data.jl
following the structure ofconfig/example-data.jl
.
For a quick start, you can use the fake data in the files raw/native/example-Laputa.csv
and raw/example-population.csv
, by copying them to raw/native/Laputa.csv
and raw/population.csv
, respectively.
Move to the installation folder, modify the Julia script script/run_DA.jl
as desired and execute
include("script/run_DA.jl")
from the Julia REPL.
Move to the installation folder (if you are not already there), modify the Julia script script/analyze_DA.jl
as desired and execute
include("script/analyze_DA.jl")
from the Julia REPL.
This package is free to use for noncommercial purposes and for commercial purposes during a trial period under the terms of the Prosperity Public License.