[AstroPy] Plotting multiple coordinate grids

Varun Bhalerao varunb at iucaa.ernet.in
Mon Dec 22 23:12:17 EST 2014


Thanks Mike,

Looks like wcsaxes will do the trick: I will try it out now.

Tom,

The basic task I want is to plot the sky as seen overhead (see example 
link below) + overlay a RA-dec grid on it (not seen in the example map) 
+ plot alt-az grid as well

http://www.heavens-above.com/skychart.aspx?lat=19.3111&lng=74.8828&loc=Unspecified&alt=545&tz=UCTm5colon30

The WCSaxis tutorial shows this done for a small part of the sky: 
http://wcsaxes.readthedocs.org/en/latest/overlaying_coordinate_systems.html

I could presumably define my own coordinate system in astropy 0.42, but 
can I overlay different axes? For example, among currently defined 
systems, can I overplot a grid of galactic coordinates on top of a 
RA-dec grid?

As an aside, is there planned support for Ecliptic coordinates?

Thanks!
-- Varun


On Monday 22 December 2014 11:30 PM, astropy-request at scipy.org wrote:
> Send AstroPy mailing list submissions to
> 	astropy at scipy.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.scipy.org/mailman/listinfo/astropy
> or, via email, send a message with subject or body 'help' to
> 	astropy-request at scipy.org
>
> You can reach the person managing the list at
> 	astropy-owner at scipy.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AstroPy digest..."
>
>
> Today's Topics:
>
>     1. Plotting multiple coordinate grids (Varun Bhalerao)
>     2. Re: Plotting multiple coordinate grids (Michael Droettboom)
>     3. Re: Plotting multiple coordinate grids (Thomas Robitaille)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 22 Dec 2014 11:12:35 +0530
> From: Varun Bhalerao <varunb at iucaa.ernet.in>
> Subject: [AstroPy] Plotting multiple coordinate grids
> To: astropy at scipy.org
> Message-ID:
> 	<CANR=hua98k4hCgv7dFuEsGf_3jcaHVMWZ2bPYxfA_RzQVy-ESQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> I am stuck at what _should_ be a simple process: I want to plot a sky
> map with RA-dec as well as alt-az grids. For example, many planetarium
> software will let you print a sky map in which you have multiple sets
> of gridlines plotted. An ability to interact with healpy (or overplot
> healpix grids) would be a bonus.
>
> What would be the way to go? Basemap? A sample code or MWE would be great.
>
> Thanks,
> -- Varun
> ______________
> Varun Bhalerao
> Office: A 214, IUCAA
> Ph: +91 20 2560 4214
> www.iucaa.ernet.in/~varunb
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 22 Dec 2014 11:30:53 -0500
> From: Michael Droettboom <mdroe at stsci.edu>
> Subject: Re: [AstroPy] Plotting multiple coordinate grids
> To: <astropy at scipy.org>
> Message-ID: <5498473D.9090709 at stsci.edu>
> Content-Type: text/plain; charset="windows-1252"; format=flowed
>
> You may want to have a look at WCSAxes:
>
> http://wcsaxes.readthedocs.org/en/latest/
>
> Mike
>
> On 12/22/2014 12:42 AM, Varun Bhalerao wrote:
>> Hi,
>>
>> I am stuck at what _should_ be a simple process: I want to plot a sky
>> map with RA-dec as well as alt-az grids. For example, many planetarium
>> software will let you print a sky map in which you have multiple sets
>> of gridlines plotted. An ability to interact with healpy (or overplot
>> healpix grids) would be a bonus.
>>
>> What would be the way to go? Basemap? A sample code or MWE would be great.
>>
>> Thanks,
>> -- Varun
>> ______________
>> Varun Bhalerao
>> Office: A 214, IUCAA
>> Ph: +91 20 2560 4214
>> www.iucaa.ernet.in/~varunb
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
>
>


-- 
______________
Varun Bhalerao
Office: A 214, IUCAA
Ph: +91 20 2560 4214
www.iucaa.ernet.in/~varunb



More information about the AstroPy mailing list