code: def divergence(v):
      """Pure spatial divergence."""
      return divergence_id(
          np.vstack((v, [np.zeros_like(v[0])])), l1_ratio=0.0
      )
  
file_path: nilearn/nilearn/decoding/_objective_functions.py
imports: from functools import partial
  import numpy
  from scipy import linalg
label_desc: Use image node_id 11 for calling a global function with example usage: divergence(v) and returns: divergence_id