PYME.Acquire.acquiremainframe module

This contains the bulk of the GUI code for the main window of PYMEAcquire.

class PYME.Acquire.acquiremainframe.PYMEMainFrame(parent, options=None)

Bases: PYMEAcquireBase, AUIFrame

AddAqTool(pane, title, pinned=False, folded=True)

Adds a pane to the Acquisition section of the GUI

Parameters
panean instance of a wx.Window derived class

The pane to add

titlestring

The caption for the panel.

AddCamTool(pane, title, pinned=True, folded=True)

Adds a pane to the Camera section of the GUI

Parameters
panean instance of a wx.Window derived class

The pane to add

titlestring

The caption for the panel.

AddTool(pane, title, pinned=True, folded=True, panel=None)

Adds a pane to the tools section of the GUI

Parameters
panean instance of a wx.Window derived class

The pane to add. Optionally, a list of panes

titlestring

The caption for the panel.

CreateToolPanel(mode='default')
LoadPerspective()
OnCloseWindow(event)
OnFileExit(event)
OnFileOpenStack(event)
OnMAquireOnePic(event)
OnMAquireStack(event)
OnMCamBin(event)
OnMCamRoi(event)
OnMCamSetPixelSize(event)
OnMDisplayClearSel(event)
SavePerspective()
SetCentredRoi(event=None, halfwidth=5)
StatusBarUpdate()
doPostInit()
register_acquisition_ui(acquisition_type, panel)

Registers a panel as a UI for a particular acquisition type

run()
property view

Return the current view panel. This is the panel that is used to display the camera data.

deprecates .vp

property vp

Backwards compatibility for access to the view panel

Generates a deprecation warning - use .view instead

PYME.Acquire.acquiremainframe.create(parent, options=None)