#NEWLINE# @ nu . setter #NEWLINE# def nu( self , value ) : #NEWLINE# #INDENT# if ( type ( value ) in [ list , tuple ] ) : #NEWLINE# #INDENT# value = np . array ( value ) #NEWLINE# #UNINDENT# if ( value is None ) : #NEWLINE# #INDENT# self . _nu = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( isinstance ( value , np . ndarray ) and ( self . ndim == 1 ) ) : #NEWLINE# #INDENT# self . _nu = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise TypeError ( 'nu should be a 1-d sequence' )