bucky.model.main
¶
The main module handling the simulation.
Module Contents¶
Classes¶
Class that handles one full simulation (both time integration and managing MC states). |
Functions¶
|
Main method for a complete simulation called with a set of CLI args. |
Attributes¶
- bucky.model.main.SCENARIO_HUB = False¶
- bucky.model.main.scen_params¶
- class bucky.model.main.buckyModelCovid(debug=False, t_max=None, graph_file=None, par_file=None, npi_file=None, disable_npi=False, reject_runs=False, output_dir=None)[source]¶
Class that handles one full simulation (both time integration and managing MC states).
- load_graph(self, graph_file)[source]¶
Load the graph data and calculate all the variables that are static across MC runs.
- postprocess_run(self, sol, seed, columns=None)[source]¶
Process the output of a run (sol, returned by the integrator) into the requested output vars.
- reset(self, params=None)[source]¶
Reset the state of the model and generate new inital data from a new random seed.