Package schrodinger :: Package application :: Package jaguar :: Package gui :: Module theory_tab_widgets :: Class SpinExcitedStateController
[hide private]
[frames] | no frames]

Class SpinExcitedStateController

object --+
         |
        SpinExcitedStateController

Controller to facilitate interaction between widget that defines spin treatment options, excited state widget and Hamiltonian widget. This controller is needed because excited states type combo box needs to be enabled or disabled depending on the state of spin treatment, excited state checkbox, and Hamiltonian combo box. This controller is also used to set and get mmjag keywords.

Instance Methods [hide private]
 
__init__(self, spin_widget, es_widget, h_widget)
Initialize controller, which takes spin treatment widget and excited state widgets as arguments and establishes connection between the two.
 
checkExcitedStatesType(self)
This function checks whether excited states type widgets should be disabled.
dict
getMmJagKeywords(self)
This function returns dictionary of mmjag keywords for both spin restricted and excited state widgets.
 
loadSettings(self, jag_input)
Convenience function that allows to specify both spin treatment and excited state options from a given jaguar handle.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, spin_widget, es_widget, h_widget)
(Constructor)

 

Initialize controller, which takes spin treatment widget and excited state widgets as arguments and establishes connection between the two.

Parameters:
  • spin_widget (SpinRestrictedWidget) - widget that defines sping treatment options
  • es_widget - widget that defines excited state options
  • h_widget (EnhancedComboBox) - combo box that defines Hamiltonian
Overrides: object.__init__

getMmJagKeywords(self)

 

This function returns dictionary of mmjag keywords for both spin restricted and excited state widgets.

Returns: dict
mmjag keywords dictionary

loadSettings(self, jag_input)

 

Convenience function that allows to specify both spin treatment and excited state options from a given jaguar handle.

Parameters: