Package gui :: Package analyses :: Module auto_noe :: Class Auto_noe
[hide private]
[frames] | no frames]

Class Auto_noe

source code


The base class for the noe frames.

Instance Methods [hide private]
EvtHandler
__init__(self, parent, id=-1, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=524288, name='scrolledpanel', gui=None, analysis_name=None, pipe_name=None, data_index=None)
Build the automatic NOE analysis GUI frame elements.
source code
 
activate(self)
Activate or deactivate certain elements of the analysis in response to the execution lock.
source code
class instance, list of str
assemble_data(self)
Assemble the data required for the Auto_noe class.
source code
wx.BoxSizer instance
build_right_box(self)
Construct the right hand box to pack into the main NOE box.
source code
 
delete(self)
Unregister the spin count from the user functions.
source code
 
execute(self, event)
Set up, execute, and process the automatic Rx analysis.
source code
 
observer_register(self, remove=False)
Register and unregister methods with the observer objects.
source code
 
peak_wizard(self, event)
Launch the NOE peak loading wizard.
source code
 
results_directory(self, event)
The results directory selection.
source code
 
sync_ds(self, upload=False)
Synchronise the noe analysis frame and the relax data store, both ways.
source code
int
wizard_page_after_error_type(self)
Set the page after the error type choice.
source code
int
wizard_page_after_repl(self)
Set the page that comes after the spectrum.replicated page.
source code
int
wizard_page_after_rmsd(self)
Set the page that comes after the spectrum.baseplane_rmsd page.
source code
 
wizard_update_pts(self)
Update the spectrum.replicated page based on previous data.
source code
 
wizard_update_repl(self)
Update the spectrum.replicated page based on previous data.
source code
 
wizard_update_rmsd(self)
Update the spectrum.baseplane_rmsd page based on previous data.
source code
 
wizard_update_spectrum_type(self)
Update the noe.spectrum_type page based on previous data.
source code

Inherited from base.Base_analysis: add_button_open, add_execute_relax, add_spin_control, add_spin_systems, add_static_text, add_subsubtitle, add_subtitle, add_text_control, add_title, build_left_box, build_main_box, launch_spin_editor, resize, spin_count, update_spin_count

Inherited from wx.lib.scrolledpanel.ScrolledPanel: OnChildFocus, ScrollChildIntoView, SetupScrolling

Inherited from wx.lib.scrolledpanel.ScrolledPanel (private): _SetupAfter

Inherited from wx._windows.PyScrolledWindow: DoEraseBackground, DoGetBestSize, DoGetClientSize, DoGetPosition, DoGetSize, DoGetVirtualSize, DoMoveWindow, DoSetClientSize, DoSetSize, DoSetVirtualSize, GetDefaultAttributes, OnInternalIdle, SetBestSize, base_AcceptsFocus, base_AcceptsFocusFromKeyboard, base_AddChild, base_DoGetBestSize, base_DoGetClientSize, base_DoGetPosition, base_DoGetSize, base_DoGetVirtualSize, base_DoMoveWindow, base_DoSetClientSize, base_DoSetSize, base_DoSetVirtualSize, base_Enable, base_GetDefaultAttributes, base_GetMaxSize, base_InitDialog, base_OnInternalIdle, base_RemoveChild, base_ShouldInheritColours, base_TransferDataFromWindow, base_TransferDataToWindow, base_Validate

Inherited from wx._windows.PyScrolledWindow (private): _setCallbackInfo

Inherited from wx._windows.ScrolledWindow: AdjustScrollbars, CalcScrollInc, CalcScrolledPosition, CalcUnscrolledPosition, Create, DoPrepareDC, EnableScrolling, GetScaleX, GetScaleY, GetScrollPageSize, GetScrollPixelsPerUnit, GetTargetWindow, GetViewStart, Scroll, SetScale, SetScrollPageSize, SetScrollRate, SetScrollbars, SetTargetWindow, __repr__

Inherited from wx._windows.Panel: SetFocusIgnoringChildren

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AdjustForLayoutDirection, AssociateHandle, CacheBestSize, CanSetTransparent, CaptureMouse, Center, CenterOnParent, Centre, CentreOnParent, ClearBackground, ClientToScreen, ClientToScreenXY, ClientToWindowSize, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByLabel, FindWindowByName, Fit, FitInside, Freeze, GetAcceleratorTable, GetAdjustedBestSize, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestFittingSize, GetBestSize, GetBestSizeTuple, GetBestVirtualSize, GetBorder, GetCaret, GetCharHeight, GetCharWidth, GetChildren, GetClientAreaOrigin, GetClientRect, GetClientSize, GetClientSizeTuple, GetConstraints, GetContainingSizer, GetCursor, GetDropTarget, GetEffectiveMinSize, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetGtkWidget, GetHandle, GetHelpText, GetHelpTextAtPoint, GetId, GetLabel, GetLayoutDirection, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetParent, GetPosition, GetPositionTuple, GetRect, GetScreenPosition, GetScreenPositionTuple, GetScreenRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetToolTip, GetTopLevelParent, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowBorderSize, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, HasCapture, HasFlag, HasMultiplePages, HasScrollbar, HasTransparentBackground, Hide, HitTest, HitTestXY, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsDoubleBuffered, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsFrozen, IsRetained, IsShown, IsShownOnScreen, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDimensions, SetDoubleBuffered, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetInitialSize, SetLabel, SetLayoutDirection, SetMaxSize, SetMinSize, SetName, SetOwnBackgroundColour, SetOwnFont, SetOwnForegroundColour, SetPosition, SetRect, SetScrollPos, SetScrollbar, SetSize, SetSizeHints, SetSizeHintsSz, SetSizeWH, SetSizer, SetSizerAndFit, SetThemeEnabled, SetToolTip, SetToolTipString, SetTransparent, SetValidator, SetVirtualSize, SetVirtualSizeHints, SetVirtualSizeHintsSz, SetVirtualSizeWH, SetWindowStyle, SetWindowStyleFlag, SetWindowVariant, ShouldInheritColours, Show, Thaw, ToggleWindowStyle, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer, WindowToClientSize

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.EvtHandler (private): _setOORInfo

Inherited from wx._core.Object: GetClassName, IsSameAs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from wx._windows.ScrolledWindow: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, NextControlId, PrevControlId

Class Variables [hide private]
  analysis_type = None
hash(x)
  bitmap = ['/data/relax/tags/1.3.16/graphics/analyses/noe_200x2...
  label = None
hash(x)

Inherited from base.Base_analysis: border, size_graphic_panel, spacer_horizontal, width_button, width_main_separator, width_text

Properties [hide private]

Inherited from wx._windows.PyScrolledWindow: thisown

Inherited from wx._windows.ScrolledWindow: ScaleX, ScaleY, TargetWindow, ViewStart

Inherited from wx._core.Window: AcceleratorTable, AutoLayout, BackgroundColour, BackgroundStyle, BestSize, BestVirtualSize, Border, Caret, CharHeight, CharWidth, Children, ClientAreaOrigin, ClientRect, ClientSize, Constraints, ContainingSizer, Cursor, DefaultAttributes, DropTarget, EffectiveMinSize, Enabled, EventHandler, ExtraStyle, Font, ForegroundColour, GrandParent, GtkWidget, Handle, HelpText, Id, Label, LayoutDirection, MaxHeight, MaxSize, MaxWidth, MinHeight, MinSize, MinWidth, Name, Parent, Position, Rect, ScreenPosition, ScreenRect, Shown, Size, Sizer, ThemeEnabled, ToolTip, TopLevel, TopLevelParent, UpdateClientRect, UpdateRegion, Validator, VirtualSize, WindowStyle, WindowStyleFlag, WindowVariant

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent, id=-1, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=524288, name='scrolledpanel', gui=None, analysis_name=None, pipe_name=None, data_index=None)
(Constructor)

source code 

Build the automatic NOE analysis GUI frame elements.

Parameters:
  • parent (wx object) - The parent wx element.
  • id (int) - The unique ID number.
  • pos (wx.Size object) - The position.
  • size (wx.Size object) - The size.
  • style (int) - The style.
  • name (unicode) - The name for the panel.
  • gui (gui.relax_gui.Main instance) - The main GUI class.
  • analysis_name (str) - The name of the analysis (the name in the tab part of the notebook).
  • pipe_name (str) - The name of the data pipe associated with this analysis.
  • data_index (None or int) - The index of the analysis in the relax data store (set to None if no data currently exists).
Returns: EvtHandler
Overrides: object.__init__

assemble_data(self)

source code 

Assemble the data required for the Auto_noe class.

Returns: class instance, list of str
A container with all the data required for the auto-analysis.

build_right_box(self)

source code 

Construct the right hand box to pack into the main NOE box.

Returns: wx.BoxSizer instance
The right hand box element containing all NOE GUI elements (excluding the bitmap) to pack into the main Rx box.

execute(self, event)

source code 

Set up, execute, and process the automatic Rx analysis.

Parameters:
  • event (wx event) - The wx event.

observer_register(self, remove=False)

source code 

Register and unregister methods with the observer objects.

Parameters:
  • remove (False) - If set to True, then the methods will be unregistered.
Overrides: base.Base_analysis.observer_register

peak_wizard(self, event)

source code 

Launch the NOE peak loading wizard.

Parameters:
  • event (wx event) - The wx event.

results_directory(self, event)

source code 

The results directory selection.

Parameters:
  • event (wx event) - The wx event.

sync_ds(self, upload=False)

source code 

Synchronise the noe analysis frame and the relax data store, both ways.

This method allows the frame information to be uploaded into the relax data store, or for the information in the relax data store to be downloaded by the frame.

Parameters:
  • upload (bool) - A flag which if True will cause the frame to send data to the relax data store. If False, data will be downloaded from the relax data store to update the frame.

wizard_page_after_error_type(self)

source code 

Set the page after the error type choice.

Returns: int
The index of the next page, which is the current page index plus one.

wizard_page_after_repl(self)

source code 

Set the page that comes after the spectrum.replicated page.

Returns: int
The index of the next page.

wizard_page_after_rmsd(self)

source code 

Set the page that comes after the spectrum.baseplane_rmsd page.

Returns: int
The index of the next page.

Class Variable Details [hide private]

bitmap

Value:
['/data/relax/tags/1.3.16/graphics/analyses/noe_200x200.png',
 '/data/relax/tags/1.3.16/gui/images/noe.png']