vamtoolbox.displaygrayscale#
Module Contents#
Classes#
This is a concise form of Evolving Plot for demonstration purposes. |
Functions#
|
|
|
|
|
|
|
|
|
|
|
- class vamtoolbox.displaygrayscale.CursorFormatter(im, slice_index=None)#
- cursorString(x, y, body_str)#
- __call__(x, y)#
- class vamtoolbox.displaygrayscale.IndexTracker(array, vol_type, slice_index, label, slice_step, ax=None, fig=None, **kwargs)#
- onscroll(event)#
- update()#
- class vamtoolbox.displaygrayscale.BodiesIndexTracker(array, vol_type, slice_index, label, slice_step, ax=None, fig=None, **kwargs)#
- onscroll(event)#
- update()#
- class vamtoolbox.displaygrayscale.VolumeSlicer(array, vol_type, slice_step=1, show_bodies=False, ax=None, fig=None, **kwargs)#
- vamtoolbox.displaygrayscale.showVolumeSlicer(array, vol_type, slice_step=1, **kwargs)#
- vamtoolbox.displaygrayscale.showSinoSlicer(array, **kwargs)#
- class vamtoolbox.displaygrayscale.SlicePlot(array, vol_type, show_bodies=False, ax=None, fig=None, title=None, vmin=0, vmax=1, **kwargs)#
- update(vol)#
- class vamtoolbox.displaygrayscale.ErrorPlot(*args, ax=None, fig=None, title=None, xlabel=None, ylabel=None)#
- update(error)#
- vamtoolbox.displaygrayscale.showErrorPlot(*args, **kwargs)#
- class vamtoolbox.displaygrayscale.MultiErrorPlot(*args, ax=None, fig=None, title=None, xlabel=None, ylabel=None, legends=None, normalization_flags=False, log_y=False)#
- update(*args)#
- class vamtoolbox.displaygrayscale.HistogramPlot(x, target, scale='linear', ax=None, fig=None, title=None, xlabel=None, ylabel=None, vmin=0, vmax=1, n_bins=100, target_binary=True)#
- update(x)#
- save(savepath, **kwargs)#
Save the current plot
- Parameters:
savepath (str) –
**kwargs – kwargs from matplotlib.pyplot.savefig
- vamtoolbox.displaygrayscale.showHistogramPlot(*args, **kwargs)#
- class vamtoolbox.displaygrayscale.EvolvingPlot(target_geo, n_iter, save_img_path=None, vmin=0, vmax=1)#
- update(loss, dose=None, mapped=None, norms_list=None)#
- ioff()#
- class vamtoolbox.displaygrayscale.EvolvingPlotDemo(target_geo, n_iter, save_img_path=None)#
This is a concise form of Evolving Plot for demonstration purposes.
- update(loss, dose=None, mapped=None)#
- ioff()#
- vamtoolbox.displaygrayscale.errorTolerancePlot(x, target_geo, dh, tol, savepath=None)#
- vamtoolbox.displaygrayscale.saveFigure(savepath)#