#NEWLINE# @ property #NEWLINE# def static_dimensions( self ) : #NEWLINE# #INDENT# '\n        Return all constant dimensions.\n        ' #NEWLINE# dimensions = [ ] #NEWLINE# for dim in self . kdims : #NEWLINE# #INDENT# if ( len ( set ( self [ dim . name ] ) ) == 1 ) : #NEWLINE# #INDENT# dimensions . append ( dim ) #NEWLINE# #UNINDENT# #UNINDENT# return dimensions