defrise_ellipses¶
-
odl.phantom.geometric.
defrise_ellipses
(ndim, nellipses=8, alternating=False)[source]¶ Ellipses for the standard Defrise phantom in 2 or 3 dimensions.
- Parameters
- ndim{2, 3}
Dimension of the space for the ellipses/ellipsoids.
- nellipsesint, optional
Number of ellipses. If more ellipses are used, each ellipse becomes thinner.
- alternatingbool, optional
True if the ellipses should have alternating densities (+1, -1), otherwise all ellipses have value +1.
See also
odl.phantom.geometric.ellipsoid_phantom
Function for creating arbitrary ellipsoids phantoms
odl.phantom.transmission.shepp_logan_ellipsoids