Package reflectometry :: Package model1d :: Package adaptor :: Module reflModelPage :: Class ReflModelPage

Class ReflModelPage

source code


The page for model notebook.
Instance Methods
 
__init__(self, parent, id=-1, pos=wx.DefaultPosition, size=(800,400)) source code
 
SetDefaultPerspective(self) source code
 
StorePerspective(self) source code
 
OnAuiButtonPressed(self, event)
The button on aui panel is pressed.
source code
 
refreshModel(self, model)
refresh the model.
source code
 
SetModel(self, model)
Set the model.
source code
 
GetModel(self)
Return the model
source code
 
UpdateViewer(self)
Update the whole model Page
source code
 
UpdateParameterViewer(self, paramName, value)
Update the whole model Page
source code
 
OnModelUpdated(self, event)
Update the whole model Page
source code
 
OnModelParameterUpdated(self, event) source code
 
OnDatasetUpdated(self, event) source code
 
CloseAuiManager(self)
Uninitalize the AuiManager.
source code
 
Enable(self, enable=True) source code
 
SetEditMode(self, editMode)
Set the panel as the edit mode or not-ediatable mode.
source code
 
GetOwnerManager(self) source code
 
GetAuiManager(self) source code
 
ShowModelDataset(self, show=True)
Show / hide the dataset panel.
source code
 
IsModelDatasetShown(self)
return True if the dataset panel is shown.
source code
 
ShowModelBuilder(self, show=True)
Show / hide the model builder panel.
source code
 
IsModelBuilderShown(self)
Retur True if the model builder panel is shown.
source code
 
ShowModelResidual(self, show=True)
Show / hide the data residual panel.
source code
 
IsModelResidualShown(self)
Return True if the data residual panel is shown.
source code
 
ShowModelParameter(self, show=True)
Show / hide the parameter panel.
source code
 
IsModelParameterShown(self)
return True if the parameter panel is shown.
source code
 
getEnds_Rhos(self) source code
 
fresnel(self, Q, sigma=0.) source code

Inherited from site-packages.park.parkAui.common.auiPanel.AuiPanel: GetPerspective, IsEditMode, OnLeftDClick, RestorePerspective, SetPerspective, ShowErrorMsg

Method Details

__init__(self, parent, id=-1, pos=wx.DefaultPosition, size=(800,400))
(Constructor)

source code 
Overrides: site-packages.park.parkAui.common.auiPanel.AuiPanel.__init__

SetEditMode(self, editMode)

source code 
Set the panel as the edit mode or not-ediatable mode.
Overrides: site-packages.park.parkAui.common.auiPanel.AuiPanel.SetEditMode
(inherited documentation)