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/moduleswith your desired path):
git clone https://github.com/sesterhenn/Corona.jl /path/to/julia/modules/Corona- Add to
~/.julia/config/startup.jlthe following line (unless/path/to/julia/modulesis already added to your JuliaLOAD_PATHvariable):
push!(LOAD_PATH,"/path/to/julia/modules/Corona")where "/path/to/julia/modules/Corona" is the folder containing Corona.jl
Execute
] add Dates TimeSeries DataStructures DifferentialEquations LinearAlgebra Flux Interpolations FFTW FileIO JLD2 DataFrames Unicode CSV Formatting Plots LaTeXStringsfrom the Julia REPL.
- Provide your preferred data paths in
config/paths.jlas shown inconfig/example-paths.jl. - Provide information on the data sources in
config/data.jlfollowing 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.