sarkas.tools.observables.RadialDistributionFunction
sarkas.tools.observables.RadialDistributionFunction#
- class sarkas.tools.observables.RadialDistributionFunction[source]#
Radial Distribution Function.
Methods
Calculate the average and standard deviation of the observable from the slices dataframe.
Calculate and save Fourier space data.
Calculate n(k,t) for each slice.
Calculate v(k,t) for each slice.
Routine for computing the observable.
Calculate Time dependent Fourier space quantities.
Compute integrals of the RDF used in sum rules.
Create the directories and filenames where to save dataframes.
RadialDistributionFunction.from_dict(input_dict)Update attributes from input dictionary.
Read the observable's info from the pickle file.
Read in particles data into one large array.
RadialDistributionFunction.integrate_normalized_acf_squared(...)Calculate the normalized correlation time as given by
RadialDistributionFunction.parse([acf_data])Grab the pandas dataframe from the saved csv file.
Read in the precomputed Fourier space data.
Read in the precomputed time dependent Fourier space data.
RadialDistributionFunction.plot([scaling, ...])Plot the observable by calling the pandas.DataFrame.plot() function and save the figure.
Create the message with the basic information of every observable
Save the \(n(\mathbf{k},t)\) and/or \(\mathbf{v}(\mathbf{k},t)\) data of each slice to disk.
Save the observable's info into a pickle file.
RadialDistributionFunction.setup(params[, ...])Assign attributes from simulation's parameters.
Assign Observables attributes and copy the simulation's parameters.
Set the attributes postprocessing_dir and dump_dirs_list.
RadialDistributionFunction.update_args(**kwargs)Update observable specific attributes and call
update_finish()to save info.Update the
slice_steps, CCF's and DSF's attributes, and save pickle file with observable's info.