def getupperenergy(self):
    ' Method to get the upper state energy.\n\n            Parameters\n            ----------\n            None\n\n            Returns\n            -------\n            Float of the upper state energy.\n\n        '
    return self.energies[1]
Method to get the upper state energy.

Parameters
----------
None

Returns
-------
Float of the upper state energy.
def getupperenergy(self):
    ' Method to get the upper state energy.\n\n            Parameters\n            ----------\n            None\n\n            Returns\n            -------\n            Float of the upper state energy.\n\n        '
    return self.energies[1]