code: def mesh_in_unit_sphere(mesh):
      scale = UniformScale(1 / mesh.norm(), mesh.n_dims)
      translation = Translation(-scale.apply(mesh).centre())
      return translation.compose_after(scale)
  
imports: import numpy
  from menpo.transform import UniformScale, Translation
label_desc: Use image node_id 2 for calling a global function with example usage: mesh_in_unit_sphere(mesh) and returns: translation