Package lib :: Package structure :: Module cones :: Class Iso_cone
[hide private]
[frames] | no frames]

Class Iso_cone

source code


The class for the isotropic cone.

Instance Methods [hide private]
 
__init__(self, angle)
Set up the cone object.
source code
float
phi_max(self, theta)
Return the maximum polar angle phi for the given azimuthal angle theta.
source code
float
theta_max(self, phi)
Return the maximum azimuthal angle theta for the given polar angle phi.
source code

Inherited from Base: limit_check

Method Details [hide private]

__init__(self, angle)
(Constructor)

source code 

Set up the cone object.

Parameters:
  • angle (float) - The cone angle.
Overrides: Base.__init__

phi_max(self, theta)

source code 

Return the maximum polar angle phi for the given azimuthal angle theta.

Parameters:
  • theta (float) - The azimuthal angle.
Returns: float
The maximum polar angle phi for the value of theta.

theta_max(self, phi)

source code 

Return the maximum azimuthal angle theta for the given polar angle phi.

Parameters:
  • phi (float) - The polar angle.
Returns: float
The maximum azimuthal angle theta for the value of phi.