pyrfu.pyrf.anisotropy_thresholds module#

pyrfu.pyrf.anisotropy_thresholds.anisotropy_thresholds(beta_para: float | ndarray, specie: str = 'i', gamma: float = 0.01) Dict[str, float | ndarray][source]#

Compute the thresholds for temperature anisotropy instabilities based on plasma species and growth rate.

Parameters:
  • beta_para (float or array_like) – Parallel beta.

  • specie (str, optional) – Plasma species, “i” for ions or “e” for electrons. Default is “i”.

  • gamma (float, optional) – Growth rate of the instability. Must match a key in the corresponding coefficient dictionary. Default is 0.01.

Returns:

Dictionary of thresholds with instability names as keys.

Return type:

dict

Raises:

ValueError – If specie is not “i” or “e”, or if gamma is not supported.