NaviNIBS.Navigator.GUI.ViewPanels.MRIPanel module¶
- class NaviNIBS.Navigator.GUI.ViewPanels.MRIPanel.MRIPanel(session=None, label=None, iconFn=None, key='Set MRI')[source]¶
Bases:
MainViewPanel
- Parameters:
_session
_label
_iconFn
_key
- finishedAsyncInit: asyncio.Event¶
- canBeEnabled()[source]¶
Should return (True, None) if panel can be enabled, and (False, ‘<Reason why cannot be enabled>’) otherwise. The second output in the latter case should be a string explaining why the panel cannot be enabled, e.g. ‘Registration must be completed before navigating’
- Return type:
tuple
[bool
,Optional
[str
]]