submarine¶
- odl.phantom.misc_phantoms.submarine(space, smooth=True, taper=20.0)[source]¶
Return a 'submarine' phantom consisting in an ellipsoid and a box.
- Parameters:
- space
DiscretizedSpace
Discretized space in which the phantom is supposed to be created.
- smoothbool, optional
If
True
, the boundaries are smoothed out. Otherwise, the function steps from 0 to 1 at the boundaries.- taperfloat, optional
Tapering parameter for the boundary smoothing. Larger values mean faster taper, i.e. sharper boundaries.
- space
- Returns:
- phantom
space
element The submarine phantom in
space
.
- phantom