Extrct the basename from a fullpath image name.
For a more detiled description see: % just_imagename.sh --help Usage: just_imagename.sh /dat1/sco/boo.bmp N arg1 - fullpath image name string arg2 - run in verbose/debug mode Output always goes to the file: just_imagename.output % cat just_imagename.output 18 bmp 20191029_0910_1017 fullpath 1 2 3 4 1 = number of character in the basename string 2 = type of image 3 = basename 4 = indicats whether image name is local or fullpath % just_imagename.sh /media/sco/DataDisk1/sco/AD/HET_work/BIB_images/20191029/Bib/20191029_0910_1017.bmp N % cat just_imagename.output 18 bmp 20191029_0910_1017 fullpath
The number of images matching the input iset value, and the number of images written to "List.FINAL_ISET" are written to standard out at the end of a complete run of this routine.
There are two other files made by every onsky_set run that can be useful if you want to run bigds9 or ds9_list_load to view all of the images of the identified targets:
List.AllTargets = the image list List.AllTargets.Text = a text file with the target numbers for each of the images in List.AllTargetsWhen we run ds9_list_load on the List.AllTargets file, the images will be labeled with their assigned iset (target number) values.
Note that usually I use onaly the List.AllTargets files is a typical acm reduction. The number of identifed targets is usually a small subset of the input image list and hence not a terribly long run for costly codes like image_catalogs.