code: def _slow(A, p0, p1, cm):
      c0, c1 = cm
      I, J = np.meshgrid(
          np.arange(A.shape[0], dtype=float),
          np.arange(A.shape[1], dtype=float),
      )
      I -= c0
      J -= c1
      I **= p0
      J **= p1
      return (I.T * J.T * A).sum()
  
file_path: mahotas/mahotas/tests/test_moments.py
imports: import numpy
  import mahotas
  from mahotas.features.moments import moments
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: _slow(A, p0, p1, cm) and returns: unknown