I've been working with the code for a while now, and I decided to compare the DEC/RA results I was getting to
nova.astrometry.net and make sure things are still working correctly. It turns out that they aren't, and I was hoping you could give some insight as to what's happening.
I guess it can be broken down into three separate problems: inaccurate solutions, calibration discrepancies, and images not solving when they should be. (All of this testing was with the original xmas images.)
Issue 1: Just running the image test with the original xmas samples and calibration data results in inaccurate DEC/RA numbers compared to the solving the images using
nova.astrometry.net.
Issue 2: There are massive discrepancies when you change the number of photographs to calibrate with. Just using the xmas images, calibrating with three photos and running the image test will result in different DEC/RA values compared to calibrating with six photos, which will result in different values compared to calibrating with all nine photos. These discrepancies are vast: image1 solved to a DEC/RA/ORI of 308/263/264 when using a camera calibrated with six images, and then solved to a DEC/RA/ORI of 19/279/214 when using a camera calibrated with all nine xmas images. (And none of the calibration permutations have resulted in an accurate solver. All three calibrations give inaccurate DEC/RA values compared to
nova.astrometry.net.)
Issue 3: Photos that are used for calibration and solved during calibration are not being solved during image tests. For example, I calibrated a camera with six sample xmas images, image1 through image6. When running the image test, image2, image3, image5, and image6 do not solve. And the images that do solve give inaccurate DEC/RA numbers.
(Note: the DEC/RA numbers given by
astrometry.net during the calibration process are correct. The inaccuracies are when using startracker.py.)
I've kept an untouched version of OpenStarTracker around from when I started to work on it in earnest (commit 5909f2b on March 7) and these errors happen with that "clean" version, as well.
The funny thing is, I remember comparing the system to
nova.astrometry.net back when I was first looking into OpenStarTracker (with the previous commit, 5f224bc on Feb 1), and everything was working back then.
Why is this happening, and how can the issues be resolved?
Thanks.