comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to compute SIP distortion parameters?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to compute SIP distortion parameters? [message #77606] Sat, 10 September 2011 07:18
MichaelT is currently offline  MichaelT
Messages: 52
Registered: May 2006
Member
Hi,

First some background info:
I am currently writing a program to automatically stack deep sky
images (amateur astronomy) using fits header astrometry. The first
step is to reference each image. This is done automatically, using the
known parameters of the scope, sensor and the imaged object, to
roughly determine the location and size of the field of view. For that
approximate field of view, the coordinates of stars (from the Tycho2
catalog) are matched with stars in the image (star triangle matching).
Then I use the coordinates of three stars to create the fits header
(starast.pro from NASA's IDL astronomy library). So I can then already
compute for each pixel the celestial coordinates and reverse.

However, comparing the computed pixel locations with the actual
locations of the stars in the image, there are some differences due to
lens distortion. So I'd now like to compute the SIP distortion
parameters and add them to the fits header.
I guess I have all the necessary data: actual and computed locations
of stars (pixel and celestial coordinates).

Now my question: Is there some code available that computes the SIP
distortion parameters from those data (using a selected order of the
polynomial)?

If not, I'd probably be able to come up with some code myself with
some help.
I read this document (The SIP Convention for Representing Distortion
in FITS Image
Headers) which probably already describes all I need to know:
http://tdc-www.harvard.edu/wcstools/SIP_distortion_v1_0.pdf

Cheers, Michael
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Startup City 2011 (September 24th,Mumbai)
Next Topic: Explain Contour Plot to Me

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:18:28 PDT 2025

Total time taken to generate the page: 0.00541 seconds