sarkas.tools.observables.ElectricCurrent
sarkas.tools.observables.ElectricCurrent#
- class sarkas.tools.observables.ElectricCurrent[source]#
Electric Current Auto-correlation function.
Methods
Average and std over the slices.
Calculate and save Fourier space data.
ElectricCurrent.calc_kt_data
([nkt_flag, ...])Calculate Time dependent Fourier space quantities.
Calculate the observable (and its autocorrelation function).
ElectricCurrent.from_dict
(input_dict)Update attributes from input dictionary.
Read in particles data
Grab the pandas dataframe from the saved csv file.
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.
Read the observable's info from the pickle file.
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.
Set the attributes postprocessing_dir and dump_dirs_list.
ElectricCurrent.time_stamp
(message, timing)Print to screen the elapsed time of the calculation.
ElectricCurrent.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.