pyrfu.pyrf.solid_angle module#

pyrfu.pyrf.solid_angle.solid_angle(inp0, inp1, inp2)[source]#

Calculates the solid angle of three vectors making up a triangle in a unit sphere with the sign taken into account.

Parameters:
  • inp0 (ndarray) – First vector.

  • inp1 (ndarray) – Second vector.

  • inp2 (ndarray) – Third vector.

Returns:

angle – Solid angle.

Return type:

float