how to convert ra-dec coordinates to galactic coordinates in python : i was converting a pixel coordinate fits file to world coordinates in python.the header shows that this fits file is in Ra-Dec coordinate system .I want to convert this to galactic coordinates.i tried

   
    
    from astropy import coordinates as coord
    from astropy import units as u
    c=coord.icrscoord(ra=wx,dec=wy,unit=(u.degree,u.degree))
    c.galactic


    AttributeError: 'module' object has no attribute 'icrscoord'
>>> 
what shall I do?