== '''Template Stacks''' == '''STEP 1'''[[BR]] Stack for testing MD03 [[BR]] g skycell.043 stack.[[BR]] r skycell.043 stack.39693[[BR]] i skycell.043 stack.[[BR]] '''STEP 2'''[[BR]] I'm selecting good stacks looking the following 4 parameters in the unconvolved stacks: average fhwm Minimum; average fhwm Major; average moment along xx; average momentum along yy Once a good night is selected in each filter, I checked 3-4 skycells by eyes and run ppSub using these images as template. The good stacks I suggest as teplate are reported below, followed by a summary of all the steps I did.[[BR]] '''MD02'''[[BR]] FILTER JD stacks.image.ID[[BR]] g 55191 40790-40893[[BR]] r 55188 44942-45045[[BR]] i 55180 39135-39238[[BR]] z 55096 31535-31604 [[BR]] [[Image(MD02.png, 800px)]][[BR]] ''' MD03''' [[BR]] FILTER JD stacks images[[BR]] g [[BR]] r 55207 41983-42082 (both good)[[BR]] r 55183 39667-39770 (both good)[[BR]] i [[BR]] z [[BR]] [[Image(MD03.png, 800px)]][[BR]] '''MD04'''[[BR]] FILTER JD stacks images[[BR]] g [[BR]] r [[BR]] i [[BR]] z [[BR]] [[Image(MD04.png, 800px)]][[BR]] ''' Summary steps''' [[BR]] * Download all new stacks in the archive[[BR]] * Run psphot on unconvolved images [[BR]] * Compare the following parameters from cmf files: [[BR]] PSF magnitudes vs aperture magntude [[BR]] moment along x vs moment along y [[BR]] minimum fwhm vs major fwhm [[BR]] [[Image(MD04.skycell.044.stk.41186.cmf_1.png, 400px)]][[BR]] [[Image(MD04.skycell.099.stk.38684.cmf_1.png, 400px)]][[BR]] '''COMMENTS:''' the unconvolved images have more detections (but probably several of them are not real) the FWHM of the objects is degradated in the convolved image (probably too much in some skycells) To investigate the quality of stacks and select good templates, I used the fwhm and moments values of the unconvnolved images. The average values for each skycell is computed rejecting at 3 sigma (5 iterations) [[BR]] I'm comparing the values of these parameters in each filters and each field [[BR]] taking a look by eyes some of the skycells of the best epochs, I choose the best templates [[BR]] some epochs with small fwhm and moments (in principle good templates) seem to be masked too much [[BR]] [[Image(, 400px)]][[BR]] I tested ppSub with the templates selected [[BR]] [[Image(MD02.skycell.102.stk.40977.unconv.dif.jpg, 400px)]][[BR]] [[BR]] MD03 skycell 066 and 102 in 2 different nights [[BR]] For skycell 066 the first night is a very good template, while for skycell 102 the stack in not good. [[BR]] == '''Probably it will be necessary to select for different skycell, different nights (as template)''' ==