sarkas.tools.observables.Observable.setup_init
sarkas.tools.observables.Observable.setup_init#
- Observable.setup_init(params, phase=None, no_slices=None, multi_run_average=None, runs=None)[source]#
Assign Observables attributes and copy the simulation’s parameters.
- Parameters
params (sarkas.core.Parameters) – Simulation’s parameters.
phase (str, optional) – Phase to compute. Default = ‘production’.
no_slices (int, optional) – Number of independent runs inside a long simulation. Default = 1.