mido (Measure Image Display Objects) runs photometry routines on sources read through the local file id.objects. This is a modified version of the lmgf MIDO code. This version is more easily embedded in scripts. It is presumed that you have already built the id.objects file. A routine that shows how this can be accomplished is ds9_id.
% mido.sh n3379.fits NOTE: You can make id.objects from a ds9 regions file (ds9.reg for example) with: % obj_id_build.sh n3379.fits ds9.reg
This routine is the real workhorse photmetry code that powers wcs_photom_zp, usno_photcal, zpstars, and other routines. A routine that is valuable for getting at the information collected my mido.sh is midodata.sh.