class_docstr: Cube
  
  Searchlight shape which is a cube of size (2*rad+1,2*rad+1,2*rad+1)
  
  Parameters
  ----------
  
  rad: radius, in voxels, of the sphere inscribed in the
       searchlight cube, not counting the center voxel
class_docstr_tok: ["Cube","Searchlight","shape","which","is","a","cube","of","size","(","2","*","rad+1,2","*","rad+1,2","*","rad+1",")","Parameters","--","--","--","--","--","rad",":","radius",",","in","voxels",",","of","the","sphere","inscribed","in","the","searchlight","cube",",","not","counting","the","center","voxel"]
code: def __init__(self, rad):
      super().__init__(rad)
      self.rad = rad
      self.mask_ = np.ones(
          (2 * rad + 1, 2 * rad + 1, 2 * rad + 1), dtype=bool
      )
  
imports: from multiprocessing import Pool
  import numpy
  from mpi4py import MPI
  from scipy.spatial.distance import cityblock, euclidean
  from ..utils.utils import usable_cpu_count
label_desc: Use image node_id 1 to create a new Cube object from inherited base classes: Shape with example: obj = Cube(rad)