class_docstr: generate randomised rotation matrix for data augmentation
class_docstr_tok: ["generate","randomised","rotation","matrix","for","data","augmentation"]
code: def randomise(self, spatial_rank=3):
      if spatial_rank == 3:
          self._randomise_transformation_3d()
      else:
          # currently not supported spatial rank for rand rotation
          pass
  
file_path: NiftyNet/niftynet/layer/rand_rotation.py
imports: from __future__ import absolute_import, print_function
  import numpy
  import scipy.ndimage
  from niftynet.layer.base_layer import RandomisedLayer
label_desc: Use image node_id 4 for calling the RandomRotationLayer obj's underlying member method code with example usage: obj.randomise(spatial_rank) without return types