parameters: (self, low, high, angle)
return_statement: return low, high
docstring: use a different method for rotation. about 30-40% faster than with rotation matrix, but only one axis.
docstring_summary: use a different method for rotation. about 30-40% faster than with rotation matrix, but only one axis.
docstring_tokens: use a different method for rotation . about 30 - 40% faster than with rotation matrix but only one axis .
function: def rotate_simple(self, low, high, angle):
  		'''
  			use a different method for rotation. about 30-40% faster than with rotation matrix, but only one axis.
  		'''
  		if len(low.shape)!=4 or len(high.shape)!=4:
  			self.TCError('Data shape mismatch.')
  		#test rot around z (axis order z,y,x,c)
  		low = scipy.ndimage.rotate(low, angle, [1,2] , reshape=False, order=self.interpolation_order, mode=self.fill_mode, cval=1.0)
  		high = scipy.ndimage.rotate(high, angle, [1,2] , reshape=False, order=self.interpolation_order, mode=self.fill_mode, cval=1.0)
  		return low, high
function_tokens: def rotate_simple ( self , low , high , angle ) : if len ( low . shape ) != 4 or len ( high . shape ) != 4 : self . TCError ( 'Data shape mismatch.' ) #test rot around z (axis order z,y,x,c) low = scipy . ndimage . rotate ( low , angle , [ 1 , 2 ] , reshape = False , order = self . interpolation_order , mode = self . fill_mode , cval = 1.0 ) high = scipy . ndimage . rotate ( high , angle , [ 1 , 2 ] , reshape = False , order = self . interpolation_order , mode = self . fill_mode , cval = 1.0 ) return low , high