vamtoolbox.display#

Module Contents#

Classes#

CursorFormatter

IndexTracker

BodiesIndexTracker

VolumeSlicer

SlicePlot

ErrorPlot

HistogramPlot

EvolvingPlot

Functions#

showVolumeSlicer(array, vol_type[, slice_step])

showSinoSlicer(array, **kwargs)

showErrorPlot(*args, **kwargs)

showHistogramPlot(*args, **kwargs)

errorTolerancePlot(x, target_geo, dh, tol[, savepath])

saveFigure(savepath)

class vamtoolbox.display.CursorFormatter(im, slice_index=None)#
cursorString(x, y, body_str)#
__call__(x, y)#
class vamtoolbox.display.IndexTracker(array, vol_type, slice_index, label, slice_step, ax=None, fig=None, **kwargs)#
onscroll(event)#
update()#
class vamtoolbox.display.BodiesIndexTracker(array, vol_type, slice_index, label, slice_step, ax=None, fig=None, **kwargs)#
onscroll(event)#
update()#
class vamtoolbox.display.VolumeSlicer(array, vol_type, slice_step=1, show_bodies=False, ax=None, fig=None, **kwargs)#
vamtoolbox.display.showVolumeSlicer(array, vol_type, slice_step=1, **kwargs)#
vamtoolbox.display.showSinoSlicer(array, **kwargs)#
class vamtoolbox.display.SlicePlot(array, vol_type, show_bodies=False, ax=None, fig=None, **kwargs)#
update(vol)#
class vamtoolbox.display.ErrorPlot(*args, ax=None, fig=None)#
update(error)#
vamtoolbox.display.showErrorPlot(*args, **kwargs)#
class vamtoolbox.display.HistogramPlot(x, target, scale='linear', ax=None, fig=None)#
update(x)#
save(savepath, **kwargs)#

Save the current plot

Parameters:
  • savepath (str) –

  • **kwargs – kwargs from matplotlib.pyplot.savefig

vamtoolbox.display.showHistogramPlot(*args, **kwargs)#
class vamtoolbox.display.EvolvingPlot(target_geo, n_iter)#
update(error, x=None)#
ioff()#
vamtoolbox.display.errorTolerancePlot(x, target_geo, dh, tol, savepath=None)#
vamtoolbox.display.saveFigure(savepath)#