Package gui :: Package analyses :: Module wizard :: Class New_analysis_page
[hide private]
[frames] | no frames]

Class New_analysis_page

source code


The panel for selection of the new analysis.

Instance Methods [hide private]
 
add_artwork(self, sizer)
Add the artwork to the dialog.
source code
 
add_buttons(self, box)
The widget of analysis buttons.
source code
 
add_contents(self, sizer)
Add the specific GUI elements (dummy method).
source code
wx.lib.buttons.ThemedGenBitmapTextToggleButton instance
create_button(self, id=-1, box=None, size=None, bmp=None, text='', tooltip='', fn=None, disabled=False)
Create a button for the new analysis selector panel.
source code
 
on_display(self)
Disable the next button until an analysis is selected.
source code
 
select_consist_test(self, event)
NOE analysis selection.
source code
 
select_custom(self, event)
NOE analysis selection.
source code
 
select_disp(self, event)
Relaxation dispersion analysis selection.
source code
 
select_mf(self, event)
NOE analysis selection.
source code
 
select_noe(self, event)
NOE analysis selection.
source code
 
select_r1(self, event)
NOE analysis selection.
source code
 
select_r2(self, event)
NOE analysis selection.
source code
 
toggle(self, button)
Toggle all buttons off except the selected one.
source code

Inherited from wizards.wiz_objects.Wiz_page: __init__, add_desc, on_apply, on_back, on_completion, on_display_post, on_execute, on_init, on_next

Inherited from wx._windows.Panel: Create, SetFocusIgnoringChildren, __repr__

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AdjustForLayoutDirection, AlwaysShowScrollbars, AssociateHandle, CacheBestSize, CanAcceptFocus, CanAcceptFocusFromKeyboard, CanApplyThemeBorder, CanBeOutsideClientArea, CanScroll, 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, GetDefaultAttributes, GetDropTarget, GetEffectiveMinSize, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetGtkWidget, GetHandle, GetHelpText, GetHelpTextAtPoint, GetId, GetLabel, GetLayoutDirection, GetMainWindowOfCompositeControl, GetMaxClientSize, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinClientSize, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetNextSibling, GetParent, GetPopupMenuSelectionFromUser, GetPosition, GetPositionTuple, GetPrevSibling, GetRect, GetScreenPosition, GetScreenPositionTuple, GetScreenRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetToolTip, GetToolTipString, GetTopLevelParent, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowBorderSize, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, HandleAsNavigationKey, HandleWindowEvent, HasCapture, HasExtraStyle, HasFlag, HasFocus, HasMultiplePages, HasScrollbar, HasTransparentBackground, Hide, HideWithEffect, HitTest, HitTestXY, InformFirstDirection, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsDoubleBuffered, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsFrozen, IsRetained, IsScrollbarAlwaysShown, IsShown, IsShownOnScreen, IsThisEnabled, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, NavigateIn, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PostSizeEvent, PostSizeEventToParent, ProcessWindowEvent, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendIdleEvents, SendSizeEvent, SendSizeEventToParent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCanFocus, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDimensions, SetDoubleBuffered, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetInitialSize, SetLabel, SetLayoutDirection, SetMaxClientSize, SetMaxSize, SetMinClientSize, 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, ShowWithEffect, Thaw, ToggleWindowStyle, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, UnsetToolTip, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer, WindowToClientSize

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, DeletePendingEvents, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, IsUnlinked, ProcessEvent, ProcessEventLocally, ProcessPendingEvents, QueueEvent, SafelyProcessEvent, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind, Unlink

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.Panel: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, ReleaseControlId, UnreserveControlId

Class Variables [hide private]
  image_path = IMAGE_PATH+ "relax.gif"
  main_text = u'A number of automatic analyses to be preformed u...
  title = 'Start a new analysis'

Inherited from wizards.wiz_objects.Wiz_page: art_spacing, divider, height_element, setup_fail, size_button, size_square_button

Properties [hide private]

Inherited from wx._windows.Panel: thisown

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, MaxClientSize, MaxHeight, MaxSize, MaxWidth, MinClientSize, MinHeight, MinSize, MinWidth, Name, Parent, Position, Rect, ScreenPosition, ScreenRect, Shown, Size, Sizer, ThemeEnabled, ToolTip, ToolTipString, 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]

add_artwork(self, sizer)

source code 

Add the artwork to the dialog.

Parameters:
  • sizer (wx.Sizer instance) - A sizer object.
Overrides: wizards.wiz_objects.Wiz_page.add_artwork

add_buttons(self, box)

source code 

The widget of analysis buttons.

Parameters:
  • box (wx.BoxSizer instance) - A sizer object.

add_contents(self, sizer)

source code 

Add the specific GUI elements (dummy method).

Parameters:
  • sizer (wx.Sizer instance) - A sizer object.
Overrides: wizards.wiz_objects.Wiz_page.add_contents

create_button(self, id=-1, box=None, size=None, bmp=None, text='', tooltip='', fn=None, disabled=False)

source code 

Create a button for the new analysis selector panel.

Parameters:
  • id (int) - The unique ID number.
  • box (wx.BoxSizer instance) - The box sizer to place the button into.
  • size (tuple of int) - The size of the button.
  • bmp (str) - The full path of the bitmap image to use for the button.
  • text (str) - The text for the button.
  • tooltip (str or None) - The button tooltip text.
  • fn (method) - The function to bind the button click to.
Returns: wx.lib.buttons.ThemedGenBitmapTextToggleButton instance
The button.

on_display(self)

source code 

Disable the next button until an analysis is selected.

Overrides: wizards.wiz_objects.Wiz_page.on_display

select_consist_test(self, event)

source code 

NOE analysis selection.

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

select_custom(self, event)

source code 

NOE analysis selection.

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

select_disp(self, event)

source code 

Relaxation dispersion analysis selection.

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

select_mf(self, event)

source code 

NOE analysis selection.

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

select_noe(self, event)

source code 

NOE analysis selection.

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

select_r1(self, event)

source code 

NOE analysis selection.

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

select_r2(self, event)

source code 

NOE analysis selection.

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

toggle(self, button)

source code 

Toggle all buttons off except the selected one.

Parameters:
  • button (wx.ToggleButton instance) - The button of the selected analysis.

Class Variable Details [hide private]

main_text

Value:
u'A number of automatic analyses to be preformed using relax in GUI mo\
de.  Although not as flexible or powerful as the prompt/scripting mode\
s, this provides a quick and easy setup and execution for a number of \
analysis types.   These currently include the calculation of the stead\
y-state NOE, the exponential curve-fitting for the R₁ and R₂ relaxatio\
n rates, and for a full and automatic model-free analysis using the d'\
Auvergne and Gooley, 2008b protocol.  All analyses perform error propa\
gation using the gold standard Monte Calro simulations.  Please select\
...