# template for object finding for MIPS data, set iecho 0 set inoise 0 set iwd 100 set conthres .1 set smsig 2 set imerad 1 # the ipgdate parameter now controls the def of local peak set ipgdate 1 # iobjsm = 0: box smooth, 1: tapered box; negative: looser condition set iobjsm -1 #read and fix image, rdis 1 2319MIPSppp # the image provided by Dan was multiplied by too large a number, # it is divided by 10000 to make it manageable (the statement should # removed if the image is multiplied by a smaller number (by 10000) car 1 /10000 # add a constant to the sky (needed to make the threshold work) car 1 +1000 # make bad area map. The first 4 are border boundries, the others are # for the funny squares on the image # note the 2nd input is the I J size of the image crbp 2 339 354 b 1 1 339 43 b 1 1 41 354 b 297 1 339 354 b 1 315 339 354 b 158 145 169 158 b 159 268 166 279 b 281 268 288 279 b 280 146 289 157 # object finding for saturated stars # negative thresky to use global threshold, # larger sky aperture to make sure good sky determination # set parameters for regular object finding set thresky 1.0 set iir 7 set ior 13 set adusat 300000 # object finding, must have two blank lines at end # set connectivity radius to 1 --> effective no test (?) afim 1 2319MIPSg 2319MIPS low connect, iobjsm=-1 (lower test thres) 2 1 3 quit # Ignore commands below # for cosmic ray rejection, read in unsmoothed image again #set rwd 3.5 rejc 1 posf merp 1 # save final pos file # first apply an additional merging of close objects (merp) save 1 2319MIPS 2319MIPS section 1 th=2.3, larger sky ring q # remove the temperary average image #del tempwtave # remove the rejection position file #\rm reject1.pos quco