code: def positive_reciprocal(X):
      """Return element-wise reciprocal of array, setting `X`>=0 to 0.
  
      Return the reciprocal of an array, setting all entries less than or
      equal to 0 to 0. Therefore, it presumes that X should be positive in
      general.
  
      Parameters
      ----------
      X : array-like
  
      Returns
      -------
      rX : array
         Array of same shape as `X`, dtype float, with values set to
         1/X where X > 0, 0 otherwise.
  
      """
      X = np.asarray(X)
      return np.where(X <= 0, 0, 1.0 / X)
  
file_path: nilearn/nilearn/glm/_utils.py
imports: from warnings import warn
  import numpy
  import scipy.linalg
  from scipy.stats import norm
label_desc: Use image node_id 5 for calling a global function with example usage: positive_reciprocal(X) and returns: np