suggestions for better annotation on running on Ubuntu under WSL2

28 views
Skip to first unread message

Don Samuels

unread,
Jun 5, 2024, 7:10:21 PMJun 5
to astrometry
Here is my script, and I am getting annotations but wonder if there is a more elegant or better way to do the script and put more annotations (but not too many more):


#! /bin/bash
# this small script to run astrometry, and then rerun plot-constellelations to get some lables

solve-field ./$1.jpg --verbose --no-delete-temp --plot-scale 0.25 --overwrite --downsample 2 -l 12000 | tee log.txt
grep plot-constellations log.txt | awk '{print $3}' > temp.txt
astrotempfile=$(cat temp.txt)
rm temp.txt

echo $astrotempfile
/usr/bin/pnmscale 0.50000 $astrotempfile | /usr/bin/plot-constellations -v -w ./$1.wcs -i - -s 0.250000 -N -B -C -f 10 -n 4 -o ./$1-ngc.png


Thanks
Don

Don Samuels

unread,
Jun 6, 2024, 1:35:51 AMJun 6
to astrometry
Using that script above, I wanted to get to Bode's galaxy. It is shooting right now, but I wanted to test out on my computer and got surprised that the annotations are off. Bode's and Cigar are clearly visible on my final test shoot before starting 2 hours worth of shooting. What am I doing wrong?
IMG_0826-ngc.png

Dustin Lang

unread,
Jun 6, 2024, 7:53:16 AMJun 6
to Don Samuels, astrometry
Hi,

For NGC galaxies, there is an extra argument:
   [-F <fraction>]: minimum NGC size, relative to image size (default 0.02)

so if an NGC object's size in the catalog is smaller than that fraction of the size of your image, it won't get annotated.

(We do this because, if your image is fairly wide, there can be hundreds of NGCs in it, and then the annotations are a mess!)

I hope that helps,
--dustin





--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/astrometry/d55e8905-14b9-42be-b0ba-684aa9bed292n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages