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_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 wizard.Wiz_page: __init__, add_desc, on_apply, on_back, on_completion, on_display_post, on_execute, on_init, on_next

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

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

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: wizard.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: wizard.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) - 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: wizard.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_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:
"A number of automatic analyses to be preformed using relax in GUI mod\
e.  Although not as flexible or powerful as the prompt/scripting modes\
, this provides a quick and easy setup and execution for a number of a\
nalysis types.   These currently include the calculation of the steady\
-state NOE, the exponential curve-fitting for the R1 and R2 relaxation\
 rates, and for a full and automatic model-free analysis using the d'A\
uvergne and Gooley, 2008b protocol.  All analyses perform error propag\
ation using the gold standard Monte Calro simulations.  Please select \
...