STScI-Citizen-Science / MTPipeline

Pipeline to produce CR rejected, astrodrizzled, png's of HST WFPC2 solar system data.
6 stars 1 forks source link

Replace stwcs.updatewcs with astropy.wcs #83

Closed acviana closed 10 years ago

acviana commented 10 years ago

http://astropy.readthedocs.org/en/latest/wcs/

ktfhale commented 10 years ago

Turns out there is no equivalent to the function updatewcs() from the stwcs.updatewcs module in the module astropy.wcs. Astropy's module seems to deal primarily with converting between various kinds of celestial coordinate systems. However, updatewcs() does a great deal more, apparently updating the headers of any images it processes with the latest calibration data. I don't think anything just within astropy.wcs can replace stwcs.udpatewcs, at least on its own.

acviana commented 10 years ago

I agree with your conclusion. I found out that stwcs can be installed with pip so we should update the setup.py file accordingly.