sarkas.processes.PostProcess
sarkas.processes.PostProcess#
- class sarkas.processes.PostProcess(input_file=None, grab_last_step=False)[source]#
Class handling the post-processing stage of a simulation.
- Parameters
input_file (str) – Path to the YAML input file.
Methods
PostProcess.__init__([input_file, ...])PostProcess.common_parser([filename])Parse simulation parameters from YAML file.
Calculate the size of the dumps directories and print them to logger.
PostProcess.evolve(phase, thermalization, ...)Evolve the system forward in time.
PostProcess.evolve_loop_threading(phase, ...)Evolve the system forward in time.
Initialize all classes.
Instantiate the process subclasses from a dictionary.
Print the initial energies of the system.
Calculate all the observables from the YAML input file.
PostProcess.setup([read_yaml, input_file, ...])Setup simulations' subclasses by reading the YAML input file and update them with other_inputs.
PostProcess.setup_from_dict(input_dict)Setup simulations' subclasses from a nested dictionary.
PostProcess.setup_from_simulation(simulation)Setup postprocess' subclasses by (shallow) copying them from simulation object.
Update the subclasses parameters using a dictionary.