JoRussell-IDM / updated_infection_and_immunity

malaria_two_pt_oh
0 stars 0 forks source link

Malaria-Free Interval #22

Open JoRussell-IDM opened 5 years ago

JoRussell-IDM commented 5 years ago

Malaria free interval should be its own counter held by an indiviudal (in their susceptibility?) which either increments 1 every update (dt) that an individual is uninfected and resets to zero upon infection Initialize()

or

calculates a subtraction whenever it is called that is either 0 if currently infected or (current timestep - last clearance event timestep) if that is less computatations.

This may necessitate Susceptibility listening for clearance events. and holding in memory the last clearance event timestep, not sure how easy that would be? I think infections may already be recorded as part of Events Reporter? I don't know much about that space if its just logging, or if it is a locally available information to individuals in Update.

JoRussell-IDM commented 5 years ago

Also my thinking is that rather than collecting feature requirements on the google doc spreadsheet, they should instead live in the main body of these issues as they firm up.

JoRussell-IDM commented 5 years ago

CURRENT STATUS: Malaria free interval should be its own counter held by an indiviudal (in their susceptibility) which either increments 1 every update (dt) that an individual is uninfected (no current active infection) and resets to zero upon infection Initialize()

DGoes-IDM commented 5 years ago

This, plus all the routing to get InfectionMalaria2 access to that value for transition matrix scale factor calculation:

SNAG-0035.png

JoRussell-IDM commented 5 years ago

Looks perfect!

Can you also show me eventually where m_density_map is calculated?

DGoes-IDM commented 5 years ago

These two together:

SNAG-0036 SNAG-0037

JoRussell-IDM commented 5 years ago

This seems complete to me