code: def _dec_filldoc(func):
      """Fill docstring of slice time function"""
      func._doc_template = func.__doc__
      func.__doc__ = func.__doc__.format(
          name=func.__name__,
          pstr="""Note: slice 0 is the first slice in the voxel data block
  
      Parameters
      ----------
      n_slices : int
          Number of slices in volume
      TR : float
          Time to acquire one full volume
  
      Returns
      -------
      slice_times : (n_slices,) ndarray
          Vectors $t_i i = 0 ... N$ of times, one for each slice, where $t_i$
          gives the time at which slice number $i$ was acquired, relative to the
          beginning of the volume acquisition.
      """,
      )
      return func
  
file_path: nipy/nipy/algorithms/slicetiming/timefuncs.py
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _dec_filldoc(func) and returns: func