tomwer.gui.visualization.imagestack.ImageStack#
- class tomwer.gui.visualization.imagestack.ImageStack(parent, show_overview=True, backend=None)#
Image stack dedicated to data display.
It deal for example with data normalization…
- clearSliceMetadata()#
- getLimits()#
- getUrlListDockWidget()#
- reset()#
Clear the plot and remove any link to url
- resetZoom()#
- setCurrentSliceMetadata(metadata)#
- Return type:
None
- 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)#
- setNormalizationFct(fct, url_indexes=None)#
- setResetZoomOnNextIteration(reset)#
- setScan(scan)#
- setScanOverviewVisible(visible)#
show or not overview of the scan
- setSliceMetadata(metadata)#
- 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
- updateAllMetadataDisplayed()#
- updateScanToUrl(scan_to_url)#
- updateSliceMetadata(metadata)#