pyrfu.pyrf.iplasma_calc#

pyrfu.pyrf.iplasma_calc(output: bool = False, verbose: bool = True, b_0: float = None, n_i: float = None, t_e: float = None, t_i: float = None)[source]#

Interactive function to calcute plasma paramters.

The plasma parameters that are not given are asked on the command line.

Parameters:
  • output (bool, Optional) – Flag to return dict with output. Default is False.

  • verbose (bool, Optional) – Flag to print the results function. Default is True.

  • b_0 (float, Optional) – Magnetic field [nT]. Asked if not given, with default 10 nT.

  • n_i (float, Optional) – H+ density [cm^-3]. Asked if not given, with default 1 cm^-3.

  • t_e (float, Optional) – Electron temperature [eV]. Asked if not given, with default 100 eV.

  • t_i (float, Optional) – Ion temperature [eV]. Asked if not given, with default 1000 eV.

Returns:

out – Hashtable with everything.

Return type:

dict