parameters: (self, fileName)
docstring: Writes this calculator off to a file so that it can be easily loaded later
  
       **Arguments**
  
         - fileName: the name of the file to be written
docstring_summary: Writes this calculator off to a file so that it can be easily loaded later
docstring_tokens: Writes this calculator off to a file so that it can be easily loaded later
function: def SaveState(self, fileName):
      """ Writes this calculator off to a file so that it can be easily loaded later
  
       **Arguments**
  
         - fileName: the name of the file to be written
  
      """
      try:
        f = open(fileName, 'wb+')
      except Exception:
        logger.error('cannot open output file %s for writing' % (fileName))
        return
      pickle.dump(self, f)
      f.close()
function_tokens: def SaveState ( self , fileName ) : try : f = open ( fileName , 'wb+' ) except Exception : logger . error ( 'cannot open output file %s for writing' % ( fileName ) ) return pickle . dump ( self , f ) f . close ( )