pyrfu.mms.make_model_kappa module#
- pyrfu.mms.make_model_kappa.make_model_kappa(vdf, n_s, v_xyz_s, t_s, kappa: float = 7.0)[source]#
Make a general isottropic kappa distribution function based on particle moment data in the same format as vdf.
- Parameters:
vdf (xarray.Dataset) – Particle distribution (skymap).
n_s (xarray.DataArray) – Time series of the number density.
v_xyz_s (xarray.DataArray) – Time series of the bulk velocity.
t_s (xarray.DataArray) – Time series of the scalar temperature.
kappa (float. Optional) – Kappa index, Default is 7.
- Returns:
out – Distribution function in the same format as vdf.
- Return type:
See also
Todo
Generalize to bi-Kappa distributions.