#NEWLINE# def geteos( self , tag ) : #NEWLINE# #INDENT# tmp = self . eosd . get ( tag ) #NEWLINE# if ( not tmp [ 0 ] ) : #NEWLINE# #INDENT# return log ( ( 1.0 / len ( self . status ) ) ) #NEWLINE# #UNINDENT# return ( log ( self . eos . get ( ( tag , 'EOS' ) ) [ 1 ] ) - log ( self . eosd . get ( tag ) [ 1 ] ) )