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
Post a Comment