neuromorphicsystems / astrometry

Astrometry turns a list of star positions into a pixel-to-sky transformation (WCS)
GNU General Public License v3.0
27 stars 3 forks source link

options for distortion polynomials #1

Closed willemrood closed 1 year ago

willemrood commented 2 years ago

Hi there,

package works well as intended although I have two suggestions/questions regarding fitting distortion polynomials. We use a wide FoV setup (24mm, 53x74 deg FoV) and we need at least a 6 order polynomial to fit the distortions for accurate wcs2pix conversions. The current solution outputs with a 2nd (?) order SIP correction and only limited options for fitting anything afterwards (stars list != target list).

Kind regards

aMarcireau commented 2 years ago

Hi,

The Astrometry.net C API, which this package uses, does not provide access to the matched catalogue stars (at least to my knowledge). However, I should be able to add support for higher-order SIP corrections.

For reference, the tweak2 method is implemented here: https://github.com/dstndstn/astrometry.net/blob/47849f0443b890c4a875360f881d2e60d1cba630/solver/tweak2.c#L195

Kind regards, Alex

aMarcireau commented 2 years ago

Hi @willemrood,

I published a new version of Astrometry (https://pypi.org/project/astrometry/3.0.0/) with support for more solver options, including the SIP correction order (details here: https://github.com/neuromorphicsystems/astrometry#solutionparameters).

Can you let me know if that works as intended with your data?