Python code to fetch RA-DEC of NGC 1952 (Crab Nebula)
Below is simple python code to fetch RA-DEC of Card Nebula ( NGC 1952) using Astropy library
/*****/
from astropy.coordinates import SkyCoord
from astropy.units import Quantity
pos = SkyCoord.from_name('NGC 1952')
print(pos)
/******/
output-
<SkyCoord (ICRS): (ra, dec) in deg (83.633212, 22.01446)>
Comments
Post a Comment