ufoym / agpy

Automatically exported from code.google.com/p/agpy
MIT License
1 stars 0 forks source link

Patch for /trunk/AG_image_tools/radialprofile.py #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
x, y = np.indices(image.shape)

Original issue reported on code.google.com by jing.sun...@gmail.com on 5 Nov 2013 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
The un-patched version is correct: because of numpy's row-major order, 
y,x=np.indices is correct.

The x & y values are then used appropriately, if not conventionally, below.

Original comment by keflavich on 5 Nov 2013 at 6:32

GoogleCodeExporter commented 9 years ago

Original comment by keflavich on 5 Nov 2013 at 6:32