-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add elimination model: track imported, introduced and indigenous infe…
…ctions and corresponding new outputs (#384) * add InfectionOrigin to Infection and WithinHost classes * simplify probTransmissionToMosquito() * split m_y_lag into m_y_lag_i and am_y_lag_l * simplify probTransmissionToMosauito * split EIR survey calculation from updateKappa() * merge probTransmissionToMosquito and probTransGenotype * remove old code * calculate probTransmission from imported and local infections separetly * calculate P_dif from imported and local infections separately * compute P_dif_i, P_dif_l, O_v_i, O_v_l, S_v_i, S_v_l * add EIR_i, EIR_l * compute nNewInfs using two poissons * add introduced infections in WithinHost models * complete imported -> introduced -> indigenous cycle * cleanup comments * update expected output of tests using imported infections due to additional rng call * remove warning for unused variable * add Introduced and Indigenous EIR outputs * add new output measures related to elimination This commit adds "Imported", "Introduced" and "Indigenous" for the output measures: nInfect nPatent totalInfs totalPatentInf SimulatedEIR (only Introduced and Indigenous) The corresponding output numbers are calculated as follows: Imported: +1000 Introduced: +2000 Indigenous: +3000 For example "nPatent" is as follows: nPatent: 3 nPatent_Imported: 1003 nPatent_Introduced: 2003 nPatent_Indigenous: 3003 * add elimination support for nUncomp
- Loading branch information
Showing
49 changed files
with
3,412 additions
and
3,120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.