Shapes.Ellipsoid#

Shapes.Sphere.py

class Ellipsoid(a, b, c, center=None)#

Bases: object

Sphere class to represent a spherical density space.

get_condition(xx, yy, zz, center=None)#

Get the condition for the ellipsoid.

get_rg()#

Calculate the radius of gyration of the ellipsoid.

Returns:

The radius of gyration of the ellipsoid.

Return type:

float

get_volume()#

Calculate the volume of the ellipsoid.

Returns:

The volume of the ellipsoid.

Return type:

float