sarkas.tools.observables.PressureTensor#

class sarkas.tools.observables.PressureTensor[source]#

Pressure Tensor.

Methods

PressureTensor.__init__()

PressureTensor.calc_k_data()

Calculate and save Fourier space data.

PressureTensor.calc_kt_data([nkt_flag, vkt_flag])

Calculate Time dependent Fourier space quantities.

PressureTensor.compute()

Calculate the observable (and its autocorrelation function).

PressureTensor.create_dirs_filenames()

PressureTensor.df_column_names()

PressureTensor.from_dict(input_dict)

Update attributes from input dictionary.

PressureTensor.grab_sim_data([pva])

Read in particles data

PressureTensor.parse()

Grab the pandas dataframe from the saved csv file.

PressureTensor.parse_k_data()

Read in the precomputed Fourier space data.

PressureTensor.parse_kt_data([nkt_flag, ...])

Read in the precomputed time dependent Fourier space data.

PressureTensor.plot([scaling, acf, figname, ...])

Plot the observable by calling the pandas.DataFrame.plot() function and save the figure.

PressureTensor.pretty_print()

Print observable parameters for help in choice of simulation parameters.

PressureTensor.read_pickle()

Read the observable's info from the pickle file.

PressureTensor.save_hdf()

PressureTensor.save_pickle()

Save the observable's info into a pickle file.

PressureTensor.setup(params[, phase, no_slices])

Assign attributes from simulation's parameters.

PressureTensor.setup_init(params[, phase, ...])

Assign Observables attributes and copy the simulation's parameters.

PressureTensor.setup_multirun_dirs()

Set the attributes postprocessing_dir and dump_dirs_list.

PressureTensor.sum_rule(beta, rdf, potential)

Calculate the sum rule integrals from the rdf.

PressureTensor.time_stamp(message, timing)

Print to screen the elapsed time of the calculation.

PressureTensor.update_args(**kwargs)

Update observable specific attributes and call update_finish() to save info.

PressureTensor.update_finish()

Update the slice_steps, CCF's and DSF's attributes, and save pickle file with observable's info.