sarkas.tools.observables#

Module for calculating physical quantities from Sarkas checkpoints.

Functions

arg_update_doc(func)

calc_Skw(nkt, ka_list, species_np, no_dumps, ...)

Calculate the Fourier transform of the correlation function of nkt.

calc_diff_flux_acf(vel, sp_num, sp_conc, sp_mass)

Calculate the diffusion fluxes and their autocorrelations functions in each direction.

calc_moments(dist, max_moment, ...)

Calculate the moments of the (velocity) distribution.

calc_nkt(fldr, slices, dump_step, ...)

Calculate density fluctuations \(n(k,t)\) of all species.

calc_pressure_tensor(vel, virial, ...)

Calculate the pressure tensor.

calc_vacf(vel, sp_num)

Calculate the velocity autocorrelation function of each species and in each direction.

calc_vkt(fldr, slices, dump_step, ...)

Calculate the longitudinal and transverse velocities fluctuations of all species.

calculate_herm_coeff(v, distribution, maxpower)

Calculate Hermite coefficients by integrating the velocity distribution function.

col_mapper(keys, vals)

compute_doc(func)

grad_expansion(x, rms, h_coeff)

Calculate the Grad expansion as given by eq.(5.97) in Liboff

kspace_setup(box_lengths, angle_averaging, ...)

Calculate all allowed \(k\) vectors.

load_from_restart(fldr, it)

Load particles' data from dumps.

plot_labels(xdata, ydata, xlbl, ylbl, units)

Create plot labels with correct units and prefixes.

setup_doc(func)

Classes

CurrentCorrelationFunction()

Current Correlation Functions.

DiffusionFlux()

Diffusion Fluxes and their Auto-correlation functions.

DynamicStructureFactor()

Dynamic Structure factor.

ElectricCurrent()

Electric Current Auto-correlation function.

Observable()

Parent class of all the observables.

PressureTensor()

Pressure Tensor.

RadialDistributionFunction()

Radial Distribution Function.

StaticStructureFactor()

Static Structure Factors.

Thermodynamics()

Thermodynamic functions.

VelocityAutoCorrelationFunction()

Velocity Auto-correlation function.

VelocityDistribution()

Moments of the velocity distributions defined as