springer-math / Mathematics-of-Epidemics-on-Networks

Source code accompanying 'Mathematics of Epidemics on Networks' by Kiss, Miller, and Simon http://www.springer.com/us/book/9783319508047 . Documentation for the software package is at https://epidemicsonnetworks.readthedocs.io/en/latest/
MIT License
151 stars 61 forks source link

What transmission module means in SEIR model #89

Closed mauimoana closed 1 year ago

mauimoana commented 1 year ago

Hi, could you help me explain what transmission module means in SEIR model? The returned tuples (t,u,v) means S>E, or E>R ?

Thanks very much.

image

joelmiller commented 1 year ago

(t,u,v) means that at time t, u caused v to transition from S to E.

does that answer your question?

mauimoana commented 1 year ago

Thanks very much for your help! It's exactly the answer what I want. Another question: How could I get the status changing tuple of E to I ?

Thanks for your help again. Best wishes.

joelmiller commented 1 year ago

For E to I there’s no involvement of any other node. So there’s nothing like the transmissions. However, the history of a node, including the E to I transition should be in node_history

mauimoana commented 1 year ago

Got it. Thanks for your kindful help. So, is there any module that could return the status of Infected nodes in time series format?
Returns like (time1:A infected, time2:B infected..........)

joelmiller commented 1 year ago

Just to be clear, if you mean when did the individual acquire infection? Then that is almost what is given in transmissions. If you mean when did the individual become infectious, then I don't think you can directly get that, but it can be extracted from node_history.

mauimoana commented 1 year ago

Got it. I mean the latter one. Thanks for your help. It's time for me to DIY. Haha!

Thanks for your time. Best wishes!