sarkas.tools.observables.ElectricCurrent#

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

Electric Current Auto-correlation function.

Methods

ElectricCurrent.__init__()

ElectricCurrent.average_slices_data()

Average and std over the slices.

ElectricCurrent.calc_k_data()

Calculate and save Fourier space data.

ElectricCurrent.calc_nkt_slices_data()

Calculate n(k,t) for each slice.

ElectricCurrent.calc_slices_data()

ElectricCurrent.calc_vkt_slices_data()

Calculate v(k,t) for each slice.

ElectricCurrent.calculate_corr_times([slices])

ElectricCurrent.compute()

Routine for computing the observable.

ElectricCurrent.compute_kt_data([nkt_flag, ...])

Calculate Time dependent Fourier space quantities.

ElectricCurrent.copy_params(params)

ElectricCurrent.create_dirs_filenames()

Create the directories and filenames where to save dataframes.

ElectricCurrent.from_dict(input_dict)

Update attributes from input dictionary.

ElectricCurrent.from_pickle()

Read the observable's info from the pickle file.

ElectricCurrent.grab_sim_data([pva])

Read in particles data into one large array.

ElectricCurrent.initialize_hdf()

ElectricCurrent.integrate_normalized_acf_squared(...)

Calculate the normalized correlation time as given by

ElectricCurrent.parse([acf_data])

Grab the pandas dataframe from the saved csv file.

ElectricCurrent.parse_acf()

ElectricCurrent.parse_k_data()

Read in the precomputed Fourier space data.

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

Read in the precomputed time dependent Fourier space data.

ElectricCurrent.plot([scaling, acf, ...])

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

ElectricCurrent.pretty_print_msg()

Create the message with the basic information of every observable

ElectricCurrent.save_acf_hdf()

ElectricCurrent.save_hdf()

ElectricCurrent.save_kt_hdf([nkt_flag, vkt_flag])

Save the \(n(\mathbf{k},t)\) and/or \(\mathbf{v}(\mathbf{k},t)\) data of each slice to disk.

ElectricCurrent.save_pickle()

Save the observable's info into a pickle file.

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

Assign attributes from simulation's parameters.

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

Assign Observables attributes and copy the simulation's parameters.

ElectricCurrent.setup_multirun_dirs()

Set the attributes postprocessing_dir and dump_dirs_list.

ElectricCurrent.update_args(**kwargs)

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

ElectricCurrent.update_finish()

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