cwitools.measurement.eccentricity

cwitools.measurement.eccentricity(sb_map, obj_mask=None)

Calculate the spatial eccentricity of a 2D or 3D object.

Parameters:
  • sb_map (numpy.ndarray) – The 2D surface brightness map.
  • obj_mask (numpy.ndarray) – A 2D mask delineating the object.
Returns:

The calculated elliptical eccentricity of the object

Return type:

float