MetaWards.movers API Detail

Functions

go_isolate(nthreads, **kwargs) This go function will move individuals from the “from” demographic(s) to the “to” demographic if they show any signs of infection (the disease stage is greater or equal to ‘self_isolate_stage’ - by default this is level ‘2’, which is one level above “latent”).
go_stage(nthreads, **kwargs) This go function will move individuals from the “from_stage” stage(s) of the “from” demographic(s) to the “to_stage” stage of the “to” demographic.
go_to(nthreads, **kwargs) This go function will move individuals from the “from” demographic(s) to the “to” demographic.
move_custom(custom_function, None], stage, …) This returns the default list of ‘go_XXX’ functions that are called in sequence for each iteration of the model run.
move_default(**kwargs) This is the default mover.