Version 3.3.0 #1271
cliffckerr
announced in
Announcements
Version 3.3.0
#1271
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Version 3.3.0 (2026-03-27)
np.iterable()returnFalsefor such parametersPregnancy loss and neonatal death classification
p_lossparameter inPregnancy. Per-timestep hazard means early losses are naturally more common.loss_thresholdparameter.preterm_thresholdandvery_preterm_threshold.miscarriages,stillbirths,nnds,n_preterm,n_very_preterm,preterm_rate.preterm,very_preterm,neonatal_death._p_miscarriageand_p_stillbirthplaceholder distributions.n_pregnancies_this_stepandn_births_this_stepcounters removed; use results directly.Generic congenital outcome framework
set_congenital()to the baseInfectionclass. Diseases opt in by definingbirth_outcome_keysandbirth_outcomesin pars.step_congenital()helper to process scheduled congenital events at delivery time._assign_congenital_outcomes()override point for state- or GA-dependent outcome probabilities.miscarriage,nnd,stillborn) triggerrequest_death; non-lethal outcomes set a bool state.FetalHealth improvements
apply_timing_shift,apply_growth_restriction,reverse_timing_shift,reverse_growth_restriction— removed redundant pregnancy filtering and type coercions.n_exposuresstate tracks disease exposures during pregnancy (connectors increment directly viafh.n_exposures[uids] += 1).interp_fnparameter for customizing birth weight interpolation.MNCH examples
Added
starsim_examples/mnch/with reusable maternal/newborn/child health examples:CongenitalDisease: simple SIR with congenital outcomes via the generic framework.NeonatalSepsis: SIR that infects/kills newborns, useful for testing NND detection.fetal_infection: connector that damages fetal health when mothers are infected.treat_pregnant: intervention that treats infected pregnant women.GitHub info: PR 1269
This discussion was created from the release Version 3.3.0.
All reactions