starsimhub / stisim

Analyses of syphilis diagnostics
MIT License
0 stars 1 forks source link

Connector updates #20

Closed RomeshA closed 4 months ago

RomeshA commented 4 months ago

Updates to the connector structure - key differences are having rel_sus and rel_trans computed from scratch each timestep, so the connector can modify them freely. Also adds SyphilisPlaceholder to use when testing HIV without the actual syphilis module

Note that this requires the bug-fix in https://github.com/starsimhub/starsim/pull/520 (on the pass-constructor-arguments branch of Starsim)

RomeshA commented 4 months ago

nb. key functionality is demonstrated in devtest_hiv_syph.py where syphilis coinfection increase HIV transmission

image

and see also test_hiv.py which contains an intervention and analyzer to explicitly control infection with HIV and syphilis, and start/stop times for ART, to confirm the time series for CD4 count, rel_sus and rel_trans. There are some discontinuities/edge cases at the moment that we might want to look more closely at later on

image

image