fn callback(callback: PyObject, radius: Option<u16>) -> SystemWrapper
Expand description

callback(callback, radius=0)

Lethally infects a randomly chosen individual in each cell returned by a Python callback

callback - A Python callback that receives the model step and returns a list of integer cell coordinate tuples where releases should take place. Use an empty list for no release in the time step

radius - a radius (in cells) where releases are performed as a fallback in cases the release cell contains no hosts