Hi,
I'm using Revision 0.84-25-gc1782b82, date Thu_Jan_7_07:49:26_2021_-0500.
I have an image that solves as a fits file with the following command:
solve-field --scale-units arcsecperpix --scale-low 0.15641275000000002 --scale-high 0.17287725 --parity pos --downsample 8 --ra 88.98636 --dec 34.265383 --radius 0.5 --quad-size-min 0.45 --quad-size-max 0.55 --cpulimit 30 --no-verify --crpix-center --no-plots --overwrite test.fits
I can't attach it here, but I've separately uploaded to the online solver:
However, I'd like to do my own source extraction (test.xy) and solve it based on that.
When I use text2fits, it gives me test.xyls, attached. But then when I try to solve it,
it complains that the required columns 'X' and "Y' are missing, tries to treat it as an image, and fails (space limits won't allow me to include the verbatim message).
When I write my own fits table (which is my preferred method, test.xyls.mine) with the following code (where x and y are the brightness sorted x/y positions):
colx = fits.Column(name='X', format='10E', array=x)
coly = fits.Column(name='Y', format='10E', array=y)
coldefs = fits.ColDefs([colx,coly])
hdu = fits.BinTableHDU.from_columns([colx,coly])
hdu.writeto('test.xyls.mine',overwrite=True)
It fails in the same way. Any idea what I'm doing wrong?
Thanks,
Jason