Adapt maps tutorial
"source": [
"### Iterating by image\n",
"\n",
- "For maps with non-spatial dimensions the `~Map.iter_by_image` method can be used\n",
+ "For maps with non-spatial dimensions the `~Map.iter_by_image_data` method can be used\n",
"to loop over image slices. The image plane index ``idx`` is returned in data order,\n",
"so that the data array can be indexed directly. Here is an example for an in-place\n",
"convolution of an image using `astropy.convolution.convolve` to interpolate NaN\n",
"m = Map.create(width=(5, 3), axes=[axis1, axis2], binsz=0.1)\n",
"m.data[:, :, 15:18, 20:25] = np.nan\n",
"\n",
- "for img, idx in m.iter_by_image():\n",
+ "for img, idx in m.iter_by_image_data():\n",
" kernel = np.ones((5, 5))\n",
" m.data[idx] = convolve(img, kernel)\n",
"\n",
