class_docstr: the Willison amplitude for each variable in the segmented time series 
class_docstr_tok: ["the","Willison","amplitude","for","each","variable","in","the","segmented","time","series"]
code: def __call__(self, X):
      segment_size = X.shape[1]
      return np.sum(
          np.abs(np.diff(X, axis=1)) >= self.threshold, axis=1
      )
  
imports: import numpy
  from scipy import stats
label_desc: Use image node_id 2 for calling the willison_amplitude obj's underlying member method code with example usage: obj.__call__(X) and returns: np