PYME.DSView.modules package¶
- PYME.DSView.modules.allmodules()¶
- PYME.DSView.modules.loadMode(mode, dsviewer)¶
install the relevant modules for a particular mode
- PYME.DSView.modules.loadModule(modName, dsviewer)¶
Loads a module my calling that modules Plug() function.
The outputs = Plug(dsviewer) function takes an instance of the data viewer and optionally returns a module class (or classes) which should be programatically accessible as an attribute of the viewer. This return can either be an object (in which case it will be accessible under the plugin name) or a dictionary if multiple objects are being returned or if things should be available under a name other than the module name. The dictionary return is largely to support an easy transition from the old plugin naming and should be avoided in new code, using a wrapper class if more than one object needs to be accessed. In the future we might require the return to be a subclass of a Plugin object or similar.
Plugins should NOT inject themselves directly into the dsviewer namespace as has been done in the case in the past as this is likely to result in circular references.
if Plugins wish to keep track of the dsviewer object they are ascociated with (or it’s .image, .do or .view attributes) they should inherit from PYME.DSView.modules._base.Plugin which implements weak proxies of the above to avoid reference counting issues.
NOTE: the Plugin class and safe dsviewer injection of values returned by Plug() are only available in python-microscopy>=2020.07.07. Plugins planning to use these should either pin to python-microscopy>=2020.07.07 in their conda recipe or pip requirements, or handle old versions of PYME gracefully (e.g. by checking the PYME version and prompting users to update if needed).
- Parameters
- modName
- dsviewer
- Returns
Subpackages¶
Submodules¶
- PYME.DSView.modules.LMAnalysis module
- PYME.DSView.modules.LMDisplay module
- PYME.DSView.modules.annotation module
- PYME.DSView.modules.arrayView module
- PYME.DSView.modules.blobFinding module
- PYME.DSView.modules.blobMeasure module
- PYME.DSView.modules.camera_maps module
- PYME.DSView.modules.coloc module
- PYME.DSView.modules.composite module
- PYME.DSView.modules.convnet module
- PYME.DSView.modules.cropping module
- PYME.DSView.modules.dark_and_flatfield module
- PYME.DSView.modules.deconvolution module
- PYME.DSView.modules.eventView module
- PYME.DSView.modules.extractBlobs module
- PYME.DSView.modules.fastGraphPanel module
- PYME.DSView.modules.filtering module
- PYME.DSView.modules.flowView module
- PYME.DSView.modules.fourierRingCorrelation module
- PYME.DSView.modules.gl_image_view module
- PYME.DSView.modules.graphViewPanel module
- PYME.DSView.modules.metadataView module
- PYME.DSView.modules.multithreshold module
- PYME.DSView.modules.neuroglancer module
- PYME.DSView.modules.object_tagging module
- PYME.DSView.modules.particleTracking module
- PYME.DSView.modules.playback module
- PYME.DSView.modules.prebleachExtraction module
- PYME.DSView.modules.profileFitting module
- PYME.DSView.modules.profilePlotting module
- PYME.DSView.modules.projections module
- PYME.DSView.modules.psfExtraction module
- PYME.DSView.modules.psfGeneration module
- PYME.DSView.modules.psfTools module
- PYME.DSView.modules.pupilTools module
- PYME.DSView.modules.pupilView module
- PYME.DSView.modules.recipes module
- PYME.DSView.modules.redimension module
- PYME.DSView.modules.segmentation module
- PYME.DSView.modules.sheetView module
- PYME.DSView.modules.shell module
- PYME.DSView.modules.shiftfield_estimation module
- PYME.DSView.modules.sparkprepare module
- PYME.DSView.modules.splitter module
- PYME.DSView.modules.synchronise module
- PYME.DSView.modules.tiling module
- PYME.DSView.modules.unmixing module
- PYME.DSView.modules.vis3D module
- PYME.DSView.modules.visgui module
- PYME.DSView.modules.webview module