#NEWLINE# def getError( self ) : #NEWLINE# #INDENT# if plotIt : #NEWLINE# #INDENT# plt . spy ( self . getAve ( self . M ) ) #NEWLINE# plt . show ( ) #NEWLINE# #UNINDENT# num = ( self . getAve ( self . M ) * self . getHere ( err . M ) ) #NEWLINE# err = np . linalg . norm ( ( self . getThere ( self . M ) - num ) , np . inf ) #NEWLINE# if plotIt : #NEWLINE# #INDENT# self . M . plotImage ( ( self . getThere ( self . M ) - num ) ) #NEWLINE# plt . show ( ) #NEWLINE# plt . tight_layout #NEWLINE# #UNINDENT# return err