“import error: no module named numpy”
Some parts of the code need the “numpy” python package. To disable things that need numpy:
solve-field --no-fits2fits --no-remove-lines --uniformize 0 [....usual arguments...]
You’ll have to run the “plot-constellations” program separately. For example, if you have an image 1.jpg and WCS 1.wcs:
jpegtopnm 1.jpg | plot-constellations -w 1.wcs -o grid.png -i - -N -C -G 60
will plot an RA,Dec grid with 60-arcminute spacings. Unfortunately they’re not labelled...
[Note, see plotann.py also for more annotation options.]
Yes, run the “wcsinfo” program on a WCS file – it prints out a bunch of stats, in a form that’s meant to be easy to parse by programs (so it’s not particularly friendly for people). “ra_center” and “dec_center” (in degrees) and “pixscale” (in arcsec/pixel) are what you want.
Yes – but it’s roundabout...
First, project your RA,Dec objects into pixel x,y positions:
wcs-rd2xy -w 1.wcs -i your-objs.rd -o your-objs.xy
Then plot them over the image (or annotated image). There’s not currently a way to label them.
pngtopnm grid.png | plotxy -i your-objs.xy -I - -x 1 -y 1 -s X -C green -b black > objs.png
The “-x 1 -y 1” compensate for the fact that FITS calls the center of the first pixel (1,1) rather than (0,0).
We assume a TAN projection, so all-sky images typically don’t work, but it should certainly be possible with a bit of tweaking, since all-sky is really a much easier recognition problem! One thing you can try, if your image is big enough, is to cut out a small section near the middle.