[AstroPy] Transforming an image into polar coordinates and back to cartesian
Thomas Robitaille
thomas.robitaille at gmail.com
Tue Jul 29 17:21:38 EDT 2014
Hi Maria,
The scipy map_coordinates function might help you do what you need:
http://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.interpolation.map_coordinates.html
You can use it to reproject from cartesian to polar using interpolation,
then interpolate it back to cartesian.
Cheers,
Tom
Maria de Juan Ovelar wrote:
> Dear all,
>
> I want to transform an image (array) into polar coordinates, operate on it and transform it back to cartesian. I found an entry on the stackoverflow forum with some ideas but I can't manage to recover the image in cartesian properly using those recipes...Is there any scipy or astropy function that can help?
>
> Thanks!
> Maria
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
More information about the AstroPy
mailing list