EmBrowser¶
- 
class 
emvis.views.EmBrowser(**kwargs)¶ - 
__init__(**kwargs)¶ Creates a EmBrowser instance :keyword textLines: The first and last lines to be shown in text file preview :keyword
FileBrowserparams:
- 
showFile(imagePath)¶ This method display an image using of pyqtgraph dv.views.ImageView, a volume using the VOLUME-SLICER or dv.views.GALLERY-VIEW components, a image stack or a Table characteristics.
pageBar provides:
A zoomable region for displaying the image
A combination histogram and gradient editor (HistogramLUTItem) for controlling the visual appearance of the image
Tools for very basic analysis of image data (see ROI and Norm buttons)
- Parameters
 imagePath – the image path
- 
updateViewPanel()¶ Update the information of the view panel.
- 
 
ViewsFactory¶
- 
class 
emvis.views.ViewsFactory¶ Factory class to centralize the creation of Views, using the underlying classes from em-core.
- 
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
- 
static 
createDataView(path, **kwargs)¶ Create an DataView and load the volume from the given path
- 
static 
createImageView(path, **kwargs)¶ Create an ImageView and load the image from the given path
- 
static 
createPickerView(micFiles, **kwargs)¶ Create an PickerView instance :param files: (list) Micrograph paths or None. :param kwargs:
boxSize: (int) The box size. Default value is 100
sources: (dict) Each element is (mic-path, coord-path)
parseCoordFunc: The parser function for coordinates file
- 
static 
createSlicesView(path, **kwargs)¶ Create an SlicesView and load the slices from the given path
- 
static 
createVolumeView(path, **kwargs)¶ Create an VolumeView and load the volume from the given path
-