metawards.extractors.output_core¶
-
metawards.extractors.
output_core
(nthreads: int, **kwargs)¶ This is the core output function that must be called every iteration as it is responsible for accumulating the core data each day, which is used to report a summary to the main output file. This is the serial version of this function.
Parameters: - network (Network) – The network over which the outbreak is being modelled
- population (Population) – The population experiencing the outbreak
- workspace (Workspace) – A workspace that can be used to extract data
- infections – Space to hold the ‘work’ infections
- play_infections – Space to hold the ‘play’ infections
- nthreads (int) – The number of threads to use to help extract the data
- kwargs – Extra argumentst that are ignored by this function