Giter VIP home page Giter VIP logo

lolli_testing's Introduction

lolli_testing

This repository contains the code used to simulate an epidemiological scenario where the Lolli-testing method is used.

The Python code is a modified version of the publicly available SEIRS+ code at https://github.com/ryansmcgee/seirsplus. We thank the Ryan Seamus McGee (ryansmcgee) for making this code available.

It contains 4 main folders: /Text_files, /Notebooks, /Figures and /Codes

/Text_files/SEIR_ensemble contains output of simulations in the form of text files. /Text_files/Data contains data of sensibility of Lolli test and output of analysis of sensitivity and simulations.

Analysis of sensitivity data is done in the jupyter notebook at /Notebooks/0_Sensitivity.ipynb

The main analysis of simulation outputs if done with /Codes/Python/analysis_ensemble1.py /Codes/lib contains the important classes and fucntions to run the model /Codes/Python/run_seir.py performs the simulation of one population for given time T and outputs two figures in /Figures/1_Extended_Model/examples /Codes/Python/run_seir_ensemble.py performs the simulation of an ensemble of populations for a given time T and outputs total number of infected and susceptible individuals at the end of the time in *.pkl files at /Textfiles/SEIR_ensemble.

All the codes run stably under Python 3.8.5 and require the following libraries: numpy, matplotlib, networkx, tqdm, pandas, sys, time, random, bisect, math, os, scipy, FARZ and pickle.

DOI

lolli_testing's People

Contributors

rmorantovar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.