code: def image1wrap(d, u, v, w, npixx, npixy, candint):
      
  
      data_resamp = numpyview(data_resamp_mem, 'complex64', datashape(d))
      image = rtlib.imgonefullxy(n.outer(u, d['freq']/d['freq_orig'][0]), n.outer(v, d['freq']/d['freq_orig'][0]), data_resamp[candint], npixx, npixy, d['uvres'], verbose=1)
      return image
docs: Parallelizable function for imaging a chunk of data for a single dm.
      Assumes data is dedispersed and resampled, so this just images each integration.
      Simple one-stage imaging that returns dict of params.
      returns dictionary with keys of cand location and values as tuple of features