Hi
We have an issue solving simulated fields (i.e. in a telescope simulator we generate realistic-ish fields from a catalog then send them to
astrometry.net to solve).
Attached is a fits file of a simulated field and a list of extracted sources in binary table format. The binary table is just a copy of the .axy obtained from
astrometry.net version 0.93 by solving the fits file.
The resulting solutions are hugely different.
solve-field --crpix-x 1023.0 --crpix-y 1023.0 --no-tweak --radius 5.0 --ra 300.0 --dec 10.0 --guess-scale --scale-units arcsecperpix --scale-low 0.36000000000000004 --scale-high 0.44000000000000006 --no-plots --no-remove-lines -N none --code-tolerance 0.03 --pixel-error 1 -d 1-200 --solved none --match none --corr none --overwrite -X X -Y Y -s FLUX --width 2048 --height 2048 test.fits -b /etc/astrometry.cfg -D /tmp
Reading input file 1 of 1: "test.fits"...
Found an existing WCS header, will try to verify it.
Extracting sources...
simplexy: found 120 sources.
Reading sort column "FLUX"
Sorting sort column
mmapping input file
Copying table header.
Writing row 0
Done
Solving...
Reading file "/tmp/test.axy"...
Only searching for solutions within 5 degrees of RA,Dec (300,10)
Verifying WCS using indices with quads of size [1.36533, 13.6533] arcmin
Verifying WCS with index 3 of 10 (/data/Astronomy/astrometry.net/data//index-4205-07.fits)
Verifying WCS of field 1.
log-odds ratio 70.3851 (3.69718e+30), 12 match, 0 conflict, 38 distractors, 12 index.
RA,Dec = (300,10.0001), pixel scale 0.4 arcsec/pix.
Hit/miss: Hit/miss: -------------+-+-----++----+--+----+-+-+-----+--++(best)--------------------------------------------------
--> log-odds 70.3851
Verifying WCS with index 4 of 10 (/data/Astronomy/astrometry.net/data//index-4205-03.fits)
Verifying WCS of field 1.
--> log-odds 0
Verifying WCS with index 5 of 10 (/data/Astronomy/astrometry.net/data//index-4204-30.fits)
Verifying WCS of field 1.
log-odds ratio 62.8933 (2.06166e+27), 14 match, 1 conflict, 49 distractors, 27 index.
RA,Dec = (300,10.0001), pixel scale 0.4 arcsec/pix.
Hit/miss: Hit/miss: -------------+-+-----++----+c-+----+-+-++----+--++-------------+(best)----------------+-------------------
--> log-odds 62.8933
Verifying WCS with index 6 of 10 (/data/Astronomy/astrometry.net/data//index-4204-12.fits)
Verifying WCS of field 1.
--> log-odds 0
Verifying WCS with index 7 of 10 (/data/Astronomy/astrometry.net/data//index-4203-30.fits)
Verifying WCS of field 1.
log-odds ratio 49.7924 (4.21264e+21), 14 match, 0 conflict, 38 distractors, 55 index.
RA,Dec = (300,10.0001), pixel scale 0.4 arcsec/pix.
Hit/miss: Hit/miss: -------------+-+-----++----+--+----+-+-++----+--++-+(best)-----------+----------------+-------------------
--> log-odds 49.7924
Verifying WCS with index 8 of 10 (/data/Astronomy/astrometry.net/data//index-4203-12.fits)
Verifying WCS of field 1.
--> log-odds 0
Verifying WCS with index 9 of 10 (/data/Astronomy/astrometry.net/data//index-4202-30.fits)
Verifying WCS of field 1.
log-odds ratio 35.4403 (2.46333e+15), 14 match, 0 conflict, 38 distractors, 120 index.
RA,Dec = (300,10.0001), pixel scale 0.4 arcsec/pix.
Hit/miss: Hit/miss: -------------+-+-----++----+--+----+-+-++----+--++-+(best)-----------+----------------+-------------------
--> log-odds 35.4403
Verifying WCS with index 10 of 10 (/data/Astronomy/astrometry.net/data//index-4202-12.fits)
Verifying WCS of field 1.
--> log-odds 0
Got 4 solutions.
Field: test.fits
Field center: (RA,Dec) = (300.000169, 10.000167) deg.
Field center: (RA H:M:S, Dec D:M:S) = (20:00:00.041, +10:00:00.600).
Field size: 13.6533 x 13.6533 arcminutes
Field rotation angle: up is -0 degrees E of N
Field parity: neg
Versus the binary table
solve-field --crpix-x 1023.0 --crpix-y 1023.0 --no-tweak --radius 5.0 --ra 300.0 --dec 10.0 --guess-scale --scale-units arcsecperpix --scale-low 0.36000000000000004 --scale-high 0.44000000000000006 --no-plots --no-remove-lines -N none --code-tolerance 0.03 --pixel-error 1 -d 1-200 --solved none --match none --corr none --overwrite -X X -Y Y -s FLUX --width 2048 --height 2048 test.lis -b /etc/astrometry.cfg -D /tmp
Reading input file 1 of 1: "test.lis"...
Reading sort column "FLUX"
Sorting sort column
mmapping input file
Copying table header.
Writing row 0
Done
Solving...
Reading file "/tmp/test.axy"...
Only searching for solutions within 5 degrees of RA,Dec (300,10)
Field 1 did not solve (index index-4206-07.fits, field objects 1-200).
Field 1 did not solve (index index-4206-03.fits, field objects 1-200).
log-odds ratio 58.4371 (2.39271e+25), 9 match, 0 conflict, 44 distractors, 13 index.
RA,Dec = (300.231,9.99988), pixel scale 0.399995 arcsec/pix.
Hit/miss: Hit/miss: -++--------+----+-+-------+--+---------+------------+(best)-----------------------------------------------
Field 1: solved with index index-4205-07.fits.
Field: test.lis
Field center: (RA,Dec) = (300.231121, 9.999938) deg.
Field center: (RA H:M:S, Dec D:M:S) = (20:00:55.469, +09:59:59.778).
Field size: 13.6531 x 13.6531 arcminutes
Field rotation angle: up is -0.00378732 degrees E of N
Field parity: neg
The solved RA is around 800 arcsec different, which happens to be the approximate width of the simulated image.
What am I doing wrong?
Cheers
Steve