#NEWLINE# @ pix_area_sr . setter #NEWLINE# def pix_area_sr( self , value ) : #NEWLINE# #INDENT# if ( ( value is None ) or ( np . isscalar ( value ) and np . isreal ( value ) ) or ( is_numpy_array ( value ) and ( value . ndim == 2 ) ) ) : #NEWLINE# #INDENT# self . _pix_area_sr = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( 'pix_area_sr should be a real scalar value or a 2-d array' )