tomwer.gui.visualization.dataviewer.ImageStack#
- class tomwer.gui.visualization.dataviewer.ImageStack(parent, show_overview=True, backend=None)#
Image stack dedicated to data display.
It deal for example with data normalization…
- getLimits()#
- getUrlListDockWidget()#
- resetZoom()#
- setCurrentUrl(url)#
Define the url to be displayed
- Parameters:
url (
DataUrl
) – url to be displayed- Type:
DataUrl
- Raises:
KeyError – raised if the url is not know
- setLimits(x_min, x_max, y_min, y_max)#
- setMetadatas(metadatas)#
- Parameters:
metadata (dict) – for each url define a dict of the metadata
- setNormalizationFct(fct, url_indexes=None)#
- setResetZoomOnNextIteration(reset)#
- setScan(scan)#
- setScanOverviewVisible(visible)#
show or not overview of the scan
- setSliceReconsParamsVisible(visible)#
show or not information regarding the slice reconstructed
- setUrls(urls)#
list of urls within an index. Warning: urls should contain an image compatible with the silx.gui.plot.Plot class
- Parameters:
urls (
list
) – urls we want to set in the stack. Key is the index (position in the stack), value is the DataUrl- Type:
list