[AstroPy] Grid lines on FITS images

federica fb55 at nyu.edu
Wed Jun 3 11:16:44 EDT 2015


hi dimitri, how are you? if you find a solution, it would be really useful
to me. would you mind sharing it?

fed


On Mon, Jun 1, 2015 at 10:06 AM, Demitri Muna <demitri.muna at gmail.com>
wrote:

> Hi,
>
> I'm looking for advice on creating a simple plot. First, I want to take a
> FITS image and plot it (AplPY seems like the appropriate tool). I'd like
> the area of the plot to be configurable, e.g. extend beyond the bounds of
> the image by an amount of my choosing. I then have a polygon/region whose
> points are defined in world coordinates. I want to draw this outline on top
> of the image. That's all.
>
> I saw that AplPY can draw DS9 regions ("fig,show_regions()"), and it's not
> a big deal to convert my points into a DS9 region file format. My question
> is whether the lines drawn will properly follow a path on the great circle;
> it's not apparent how the lines are being drawn when I look at the source
> code.
>
> I'm familiar with PyAST and know that it will draw the grid lines
> correctly, but it doesn't draw images, so a mixture of these two packages
> seems ideal. I'm kind of hoping that someone has done something almost
> exactly like this and has simple sample code - that would be greatly
> appreciated!
>
> Cheers,
> Demitri
> _________________________________________
> Demitri Muna
>
> Department of Astronomy
> La Ohio State University
>
> http://trillianverse.org
> http://scicoder.org
>
>
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>
>


-- 

_____________________________________________

dr. federica bianco
James Arthur Fellow
NYU-CCPP
4 Washington Pl #545
New York, NY 10003

http://cosmo.nyu.edu/~fb55/
___________________________________________

  //\\
 //||\\     Please consider the environment before printing this e-mail

email checking schedule:
9-5 on the hour. otherwise sporadically.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20150603/389da3ff/attachment.html>


More information about the AstroPy mailing list