pyrfu.dispersion.one_fluid_dispersion module#
- pyrfu.dispersion.one_fluid_dispersion.one_fluid_dispersion(b_0, theta, ions, electrons, n_k: int = 100)[source]#
Solves the one fluid dispersion relation.
- Parameters:
b_0 (float) – Magnetic field
theta (float) – The angle of propagation of the wave with respect to the magnetic field, \(\cos^{-1}(k_z / k)\)
ions (dict) – Hash table with n : number density, t: temperature, gamma: polytropic index.
electrons (dict) – Hash table with n : number density, t: temperature, gamma: polytropic index.
n_k (int, optional) – Number of wavenumbers.
- Returns:
wc_1 (xarray.DataArray) – 1st root
wc_2 (xarray.DataArray) – 2nd root
wc_3 (xarray.DataArray) – 3rd root