code: def mean_diff(X):
      """mean temporal derivative"""
      return np.mean(np.diff(X, axis=1), axis=1)
  
imports: import numpy
  from scipy import stats
label_desc: Use image node_id 20 for calling a global function with example usage: mean_diff(X) and returns: np