python - APLpy coordinate change to pixel values -


does know how change coordinate values pixel values of fits file image in aplpy?

the way think of pass in data-array instead of fits file. if has no wcs information must operate in pixel-space.

from astropy.io import fits # or import pyfits fits.open(filename) hdus:     data = hdus[0].data f1 = aplpy.fitsfigure(data) # ... whatever want thereafter. 

i haven't used aplpy maybe there better way haven't found in documentation.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -