MaternalNet#
- class MaternalNet(key_dict=None, prenatal=True, postnatal=False, **kwargs)[source]#
Bases:
DynamicNetwork
Base class for maternal transmission Use PrenatalNet and PostnatalNet to capture transmission in different phases
Attributes
beta
Relative transmission on each network edge
members
Return sorted array of all members
now
Shortcut to self.t.now()
p1
The first half of a network edge (person 1)
p2
The second half of a network edge (person 2)
states
Return a flat list of all states
statesdict
Return a flat dictionary (objdict) of all states
ti
Get the current module timestep
timevec
Shortcut to self.t.timevec
Methods