Download odl Documentation

Transcript
odl Documentation, Release beta
Set the title of the figure
indices : index expression, optional
Display a slice of the array instead of the full array. The index expression is most easily
created with the numpy.s_ constructur, i.e. supply np.s_[:, 1, :] to display
the first slice along the second axis.
For data with 3 or more dimensions, the 2d slice in the first two axes at the “middle”
along the remaining axes is shown (semantically [:, :, shape[2:] // 2]).
kwargs : {‘figsize’, ‘saveto’, ...}
Extra keyword arguments passed on to display method See the Matplotlib functions for
documentation of extra options.
See also:
matplotlib.pyplot.plotShow graph plot
matplotlib.pyplot.imshowShow data as image
matplotlib.pyplot.scatterShow scattered 3d points
phantom
Utilities for internal use.
Functions
derenzo_sources(space)
shepp_logan(space[, modified])
Creates the PET/SPECT derenzo phantom.
Create a Shepp-Logan phantom.
derenzo_sources
odl.util.phantom.derenzo_sources(space)
Creates the PET/SPECT derenzo phantom.
The derenzo phantom contains a series of circles of decreasing size.
shepp_logan
odl.util.phantom.shepp_logan(space, modified=True)
Create a Shepp-Logan phantom.
The shepp-logan phantom
References
Wikipedia : https://en.wikipedia.org/wiki/Shepp%E2%80%93Logan_phantom
testutils
Utilities for internal use.
2.4. odl
315