pyrfu.lp package#

class pyrfu.lp.LangmuirProbe(name: str, surface: str = 'cluster', r_sphere: list | float | int | None = None, r_wire: list | float | int | None = None, l_wire: list | float | int | None = None, s_photoemission: float | None = None)[source]#

Bases: object

Defines either spherical, cylindrical, conical or spherical + cylindrical/conical probes. Probe belonging to LangmuirProbe is defined with properties.

get_probe_area()[source]#

Computes probe area.

get_probe_capa()[source]#

Computes probe capacitance.

:raises ValueError : if length > radius.:

See also

pyrfu.pyrf.estimate.py

get_probe_surface_photoemission()[source]#

Computes (or get) surface photo emission.

get_probe_type()[source]#

Define probe type according to the specified parameters.

pyrfu.lp.photo_current(iluminated_area: float | None = None, u: float | ndarray | None = None, distance_sun: float | None = None, flag: str | float = 'cluster') float | ndarray[source]#

Calculates the photo-current emitted by an arbitrary body.

Parameters:
  • iluminated_area (float) – Cross section area [m^2].

  • u (float or numpy.ndarray) – Potential [V].

  • distance_sun (float) – Distance form the Sun [AU].

  • flag (str or float, Optional) – Surface materials or surface photoemission in [A/m^2]. Default is “cluster”.

Returns:

j_photo – Photo-current emitted.

Return type:

float or numpy.ndarray

Notes

Estimates are done for the solar minimum conditions.

pyrfu.lp.thermal_current(n: float, t: float, m: float, v: float, z: float, u: float | ndarray, a: float, p_type: str) float | ndarray[source]#

Calculates the thermal probe current to/from a cylindrical or spherical body, e.g. a Langmuir probe or the a spherical (cylindrical) S/C.

Parameters:
  • n (float) – Number density [m^3].

  • t (float) – Temperature [K]

  • m (float) – Mass [kg].

  • z ({-1, 1}) – Charge

  • v (float) – Velocity of the body with respect to the plasma [m/s].

  • u (float or numpy.ndarray) – Body potential [V]

  • a (float) – Area of body [m^2].

  • p_type ({"sphere", "cylinder"}) – Probe type.

Returns:

j_thermal

Return type:

float or numpy.ndarray

Submodules#