pyworkflow.gui.matplotlib_image module

Several Image tools using Matplotlib.

class pyworkflow.gui.matplotlib_image.FigureFrame(parent, **kwargs)[source]

Bases: tkinter.Frame

Create a Tk Frame that will contains a Matplotlib Figure. **kwargs arguments will be passed to Figure constructor. Valid options are:

figsize = (xdim, ydim) dpi = value frameon = (True|False)
getCanvas()[source]
getFigure()[source]
class pyworkflow.gui.matplotlib_image.ImagePreview(parent, dim, dpi=36, label=None, col=0, listenersDict=None)[source]

Bases: pyworkflow.gui.matplotlib_image.Preview

class pyworkflow.gui.matplotlib_image.MaskPreview(parent, dim, dpi=36, label=None, col=0, listenersDict=None)[source]

Bases: pyworkflow.gui.matplotlib_image.ImagePreview

updateMask(outerRadius, innerRadius=0)[source]
class pyworkflow.gui.matplotlib_image.Preview(parent, dim, dpi=36, label=None, col=0, row=0, listenersDict=None)[source]

Bases: tkinter.Frame

clear()[source]
setWindowTitle(title)[source]

Set window title

updateData(Z)[source]
class pyworkflow.gui.matplotlib_image.PsdPreview(master, dim, lf, hf, dpi=72, label='PSD', listenersDict=None)[source]

Bases: pyworkflow.gui.matplotlib_image.Preview

createRing()[source]
updateFreq(lf, hf)[source]
pyworkflow.gui.matplotlib_image.createBgImage(dim)[source]
pyworkflow.gui.matplotlib_image.getPngData(filename)[source]
pyworkflow.gui.matplotlib_image.getWedgeExtraParams(maxRad)[source]