code: def rot90(array, n=1, axis=2):
      """Rotate an array by 90 degrees in the counter-clockwise direction around the given axis
      Nabbed from https://stackoverflow.com/questions/33190042/how-to-calculate-all-24-rotations-of-3d-array
      """
  
      array = np.swapaxes(array, 2, axis)
      array = np.rot90(array, n)
      array = np.swapaxes(array, 2, axis)
      return array
  
file_path: DeepNeuro/deepneuro/utilities/util.py
imports: import glob
  import math
  import numpy
  import os
  import fnmatch
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: rot90(array, n, axis) and returns: array