In [37]:
from astropy.table import Table
In [38]:
a = Table.read('sky_coordinate_list.csv')
a[0:2]
Out[38]:
In [39]:
from pyND.plotting import skyplot
skyplot(longitude, latitude, origin=0, zscale=None,zminmax=None, zlabel='Use zlabel=...',zcmap='viridis', pointcolor='seagreen', system='Galactic',projection='aitoff', title=None)
- longitude
- latitude
- origin = 0: The center of the plot in the longitude coordinate. For system='RADec', assumed in hours.
- pointcolor = 'seagreen': Color to use if not using zscale.
- zscale = None: variable for scaling point colors
- zminmax = None: Optional min/max list for color scaling
- zlabel= ...: Set the title for the colorbar
- zcmap='viridis': Set the color map to use with the scaling.
- system = 'Galactic': Optionally use 'RADec' for longitude = RA in decimal degrees, latitude = Declination in deg
- projection = 'aitoff': Projection type: 'mollweide', 'aitoff', 'hammer', 'lambert'
- title = None: Plot title.
In [63]:
skyplot(a['longitude'],a['latitude'],origin=120., pointcolor='firebrick',
title='Galactic Coordinate Plot')
In [64]:
skyplot(a['longitude'],a['latitude'],origin=120.,
title='Galactic Coordinate Plot',
zscale=a['Number'],zminmax=[0,50],zlabel='Number of Objects')
In [65]:
skyplot(a['RA[deg]'],a['Dec[deg]'],origin=11,system='RADec')
In [ ]: