#NEWLINE# @ d_max . setter #NEWLINE# def d_max( self , value ) : #NEWLINE# #INDENT# if ( ( value is None ) or ( np . isscalar ( value ) and np . isreal ( value ) ) ) : #NEWLINE# #INDENT# self . _d_max = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( 'd_max should be a real scalar value' )