Package lib :: Package structure :: Module angles
[hide private]
[frames] | no frames]

Module angles

source code

Functions [hide private]
array of float, array of float
angles_regular(inc=None)
Determine the spherical angles for a regular sphere point distribution.
source code
array of float, array of float
angles_uniform(inc=None)
Determine the spherical angles for a uniform sphere point distribution.
source code
Variables [hide private]
  __package__ = 'lib.structure'

Imports: pi, arccos, float64, zeros


Function Details [hide private]

angles_regular(inc=None)

source code 

Determine the spherical angles for a regular sphere point distribution.

Parameters:
  • inc (int) - The number of increments in the distribution.
Returns: array of float, array of float
The phi angle array and the theta angle array.

angles_uniform(inc=None)

source code 

Determine the spherical angles for a uniform sphere point distribution.

Parameters:
  • inc (int) - The number of increments in the distribution.
Returns: array of float, array of float
The phi angle array and the theta angle array.