From steffen at astro.psu.edu Mon Apr 17 10:17:47 2006 From: steffen at astro.psu.edu (Aaron Steffen) Date: Mon, 17 Apr 2006 10:17:47 -0400 Subject: [AstroPy] Conversion between physical and world coordinate systems Message-ID: <4BA43353-FE02-4F02-BAE0-8B888FE76511@astro.psu.edu> Hello everyone, Does anyone know if there exists Python code that does coordinate transformations for image files opened in pyfits? I know that pydrizzle.wcsutil.rd2xy (and xy2rd) converts between these two systems, but it only accepts single (ra, dec) tuple and does not handle array input or output. Also, I am *assuming* that it opens the file to read in the header information each time it is called, and I am looking for a function that will take a header that you have already read in and will use it to do the coordinate transformation (thus minimizing disk access). Thanks, Aaron ------------------------------ Aaron Steffen Department of Astronomy and Astrophysics The Pennsylvania State University Office: 814-863-6841 Fax: 814-863-3399 ------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: