-
Notifications
You must be signed in to change notification settings - Fork 9
Point Spread Functions and Computing Fluxes
Each image acquired as part of the OSSOS-CFHT observations has a PSF created for it. This PSF is created automatically and NOT vetted by a visual inspection.
The flowing scripts are followed in building the PSF:
- mkpsf.py -> jmpmakepsf.csh -> kinky.pipeline.jmpprepimage -> kinky.pipeline.jmpmakepsf
Using this PSF requires knowing how the PSF was built. The most straight-forward approach is to use the PSF within the IRAF/daophot package.
IRAF/daophot PSFs have a few critical parameters.
- PSFRAD - spatial size of the PSF
- FITRAD - the radius of pixels that should be used to match the PSF to a stellar profile
- APERTURE - the size of the flux aperture that the PSF magnitude is scaled to
- ZEROPOINT - the magnitude zero point used for this PSF.
PSFRAD and FITRAD can both be retrieved from the fits header of the PSF itself.
APERTURE and ZEROPOINT are stored in vospace.
The size of the apertures are stored in a file in the same vospace location as the PSF file, just change the extension to .apcor e.g.: vos:OSSOS/dbimages/1607618/ccd25/1607618p25.apcor
This file contains a single line (no header) with the values of being: apmin apmax apcor uncertainty
. The PSF is built using fluxes that are scaled from apmin
values i.e. without the apcor values. Fluxes that IRAF returns will be on the apmin
scale and you must subtract the apcor
to get a calibrated flux value.
The zeropoint of each image is provided in a similar way to the aperture correction, change to the extension .zeropoint.used, e.g. vos:OSSOS/dbimages/1607618/ccd25/1607618p25.zeropoint.used This file contains a single value which is the zeropoint of the exposure in the filter reference frame of the image (so far this is always r) the zeropoint is in the AB system. This zeropoint already includes the exposure time and airmass corrections. To convert a measured flux into calibrated flux the following equation is used:
mag_AB = -2.5 log10(flux(apmin)) - apcor + zeropoint
where flux(apmin)
is either the flux determined from the a PSF fit or from a circular aperture of size apmin
.
vcp vos:OSSOS/postage_stamps/13AE/FITS/o3e01/o3e01_56331.58356_214.15121_-13.85378.fits ./
EXPNUM = 1607618 / CFHT odometer number
EXTNAME = 'ccd25 ' / CCD number in the mosaic
EXTVER = 25 / Now matches the CCD number in the mosaic
vos:OSSOS/dbimages/${EXPNUM}/${EXTNAME}/${EXPNUM}p${EXTVER}.{EXT}
vcp vos:OSSOS/dbimages/1607618/ccd25/1607618p25.psf.fits ./ vcat vos:OSSOS/dbimages/1607618/ccd25/1607618p25.apcor vcat vos:OSSOS/dbimages/1607618/ccd25/1607618p25.zeropoint.used
cl
noao digiphot daophot
Display the postage stamp an locate the KBO, normally the centre of the image. RA/DEC in image name.
display o3e01_56331.58356_214.15121_-13.85378.fits
datapars.itime = 1 photpars.zmag = 32.01 photpars.apertures = 5
print "0 0" > junk.coo
phot o3e01_56331.58356_214.15121_-13.85378.fits inter+allstar o3e01_56331.58356_214.15121_-13.85378.fits o3e01_56331.58356_214.15121_-13.85378.fits.mag.1
You should now have a .sub image that shows how good the subtraction was and a .als file that gives the source flux on the scale of the small aperture: Don't forget to subtract the apcor value now.