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.

PostProcess.directory_sizes()

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.

PostProcess.initialization()

Initialize all classes.

PostProcess.instantiate_subclasses_from_dict(...)

Instantiate the process subclasses from a dictionary.

PostProcess.print_initial_state()

Print the initial energies of the system.

PostProcess.run()

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.

PostProcess.update_subclasses_from_dict(...)

Update the subclasses parameters using a dictionary.