Package gui :: Package wizards :: Module peak_intensity :: Class Peak_intensity_wizard
[hide private]
[frames] | no frames]

Class Peak_intensity_wizard

source code


The wizard for loading peak intensity data.

Instance Methods [hide private]
EvtHandler
__init__(self, parent=None, size_x=1000, size_y=750, title='Peak intensity loading wizard', noe=False, relax_fit=False, relax_disp=False)
Set up the peak intensity loading wizard.
source code
int
wizard_page_after_cpmg_setup(self)
Set the page after the CPMG setup page.
source code
int
wizard_page_after_error_type(self)
Set the page after the error type choice.
source code
int
wizard_page_after_relax_time(self)
Set the page after the relaxation time period page.
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_ids(self, page_key=None, arg_key='spectrum_id', index=None)
Update the spectrum ID on the page specified by the key based on previous data.
source code
 
wizard_update_noe_spectrum_type(self)
Update the noe.spectrum_type page based on previous data.
source code
 
wizard_update_pts(self)
Update the spectrum.replicated page based on previous data.
source code
 
wizard_update_relax_disp_cpmg_setup(self)
Update the relax_disp.cpmg_setup page based on previous data.
source code
 
wizard_update_relax_disp_exp_type(self)
Update the relax_disp.exp_type page based on previous data.
source code
 
wizard_update_relax_disp_relax_time(self)
Update the relax_disp.relax_time page based on previous data.
source code
 
wizard_update_relax_disp_spin_lock_field(self)
Update the relax_disp.spin_lock_field page based on previous data.
source code
 
wizard_update_relax_disp_spin_lock_offset(self)
Update the relax_disp.spin_lock_offset page based on previous data.
source code
 
wizard_update_relax_fit_relax_time(self)
Update the relax_fit.relax_time 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_spectrometer_frequency(self)
Update the spectrometer.frequency page based on previous data.
source code

Inherited from wiz_objects.Wiz_window: Destroy, add_page, block_next, get_page, reset, run, set_seq_next_fn, setup_page

Inherited from wx._windows.Dialog: AddMainButtonId, CanDoLayoutAdaptation, Create, CreateButtonSizer, CreateSeparatedButtonSizer, CreateSeparatedSizer, CreateStdDialogButtonSizer, CreateTextSizer, DoLayoutAdaptation, EndModal, GetAffirmativeId, GetContentWindow, GetEscapeId, GetLayoutAdaptationDone, GetLayoutAdaptationLevel, GetLayoutAdaptationMode, GetMainButtonIds, GetModality, GetParentForModalDialog, GetReturnCode, IsMainButtonId, IsModal, SendWindowModalDialogEvent, SetAffirmativeId, SetEscapeId, SetLayoutAdaptationDone, SetLayoutAdaptationLevel, SetLayoutAdaptationMode, SetReturnCode, ShowModal, ShowWindowModal, __enter__, __exit__

Inherited from wx._windows.Dialog (private): _CreateButtonSizer

Inherited from wx._windows.TopLevelWindow: CenterOnScreen, CentreOnScreen, EnableCloseButton, GetDefaultItem, GetIcon, GetTitle, GetTmpDefaultItem, Iconize, IsActive, IsAlwaysMaximized, IsFullScreen, IsIconized, IsMaximized, MacGetMetalAppearance, MacGetTopLevelWindowRef, MacGetUnifiedAppearance, MacSetMetalAppearance, Maximize, OSXIsModified, OSXSetModified, RequestUserAttention, Restore, SetDefaultItem, SetIcon, SetIcons, SetRepresentedFilename, SetShape, SetTitle, SetTmpDefaultItem, ShowFullScreen, ShowWithoutActivating, __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, 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.Dialog: EnableLayoutAdaptation, GetClassDefaultAttributes, GetLayoutAdapter, IsLayoutAdaptationEnabled, SetLayoutAdapter

Inherited from wx._windows.TopLevelWindow: GetDefaultSize

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

Class Variables [hide private]

Inherited from wiz_objects.Wiz_window: ICON_APPLY, ICON_BACK, ICON_CANCEL, ICON_FINISH, ICON_NEXT, ICON_OK, ICON_SKIP, TEXT_APPLY, TEXT_BACK, TEXT_CANCEL, TEXT_FINISH, TEXT_NEXT, TEXT_OK, TEXT_SKIP

Inherited from wiz_objects.Wiz_window (private): _size_button

Properties [hide private]

Inherited from wx._windows.Dialog: AffirmativeId, EscapeId, ReturnCode, thisown

Inherited from wx._windows.TopLevelWindow: DefaultItem, Icon, OSXModified, Title, TmpDefaultItem

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]

__init__(self, parent=None, size_x=1000, size_y=750, title='Peak intensity loading wizard', noe=False, relax_fit=False, relax_disp=False)
(Constructor)

source code 

Set up the peak intensity loading wizard.

Parameters:
  • parent (wx.Window instance) - The parent window.
  • size_x (int) - The width of the wizard.
  • size_y (int) - The height of the wizard.
  • title (str) - The title of the wizard dialog.
  • noe (bool) - A flag which when True will enable the steady-state NOE portions of the wizard.
  • relax_fit (bool) - A flag which when True will enable the relaxation curve-fitting portions of the wizard.
  • relax_disp (bool) - A flag which when True will enable the relaxation dispersion portions of the wizard.
Returns: EvtHandler
Overrides: object.__init__

wizard_page_after_cpmg_setup(self)

source code 

Set the page after the CPMG setup page.

This should either be the R1rho page if R1rho experiment types exist, or terminate the wizard.

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

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_relax_time(self)

source code 

Set the page after the relaxation time period page.

This should either be the CPMG page if CPMG experiment types exist, the R1rho page if R1rho experiment types exist, or terminate the wizard.

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.

wizard_update_ids(self, page_key=None, arg_key='spectrum_id', index=None)

source code 

Update the spectrum ID on the page specified by the key based on previous data.

Parameters:
  • page_key (str) - The key of the page to update.
  • arg_key (str) - The key of the page argument to change to the spectrum ID.
  • index (None or int) - The index for list type structures.