Giter Club home page Giter Club logo

p-j-r / covid-19 Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 8.0 21.36 MB

Stochastic SIR models; adding age-structures and social contact data for the spread of covid-19. Lattice model for identifying and isolating hotspots. This has been further developed into a network(graph) of multiple clusters(lattices) and tracing the infection in such a population.

Home Page: https://p-j-r.github.io/covid-19/

License: Apache License 2.0

Python 1.30% Jupyter Notebook 98.70%
coronavirus coronavirus-analysis covid-19 covid-19-india disease-spread epidemic-simulations epidemiology epidemiology-analysis lattice physics physics-simulation random-walk sars-cov-2 sir-model stochastic-models

covid-19's People

Contributors

p-j-r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

covid-19's Issues

Divide changes data array

In line 86 of the stochastic file,
data[i]/=n
changes the shape of data. Changing it to
data[i]=data[i]/n
fixes this.

Share load age structure data?

I am looking at your model. I would like to see if I can reproduce. Can you share your "load age structure data"?

Thanks,
Mike

ValueError: empty range for randrange()

In function first_case()
corona_walk

cx,cy= nodes[randrange(len(nodes))] 
temp=Lat.nodes[(cx,cy)]['walkers']        

This may potentially return an empty attribute as no walker may be at that node!

first_case=temp[randrange(len(temp))]   
infect[first_case]=1
Lat.nodes[(cx,cy)]['infected']+=1
global sick
sick=1

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.