kai.photometry

Functions

run_phot(imageRoot[, silent, apertures, sky_annulus, ...])

Run aperture photometry on a *.fits image at the coordinates specified in

get_filter_profile(filter)

Returns the wavelength (in microns) and the transmission for

test_filter_profile_interp()

Plot up the filter transmission curves and their interpolations

test_atmosphere_profile_interp()

Module Contents

kai.photometry.run_phot(imageRoot, silent=False, apertures=[25, 50, 75, 100, 125, 150, 175, 200], sky_annulus=200, sky_dannulus=50, zmag=0)[source]

Run aperture photometry on a *.fits image at the coordinates specified in an accompanying *.coo file to make a curve of growth. Background/sky subtraction is done with a circular annulus.

kai.photometry.get_filter_profile(filter)[source]

Returns the wavelength (in microns) and the transmission for the specified NIRC2 filter.

Example: (wave, trans) = kai.photometry.get_filter_profile(‘Kp’) py.clf() py.plot(wave, trans) py.xlabel(‘Wavelength (microns)’) py.ylabel(‘Transmission’)

kai.photometry.test_filter_profile_interp()[source]

Plot up the filter transmission curves and their interpolations for the three K-band filters (K, Kp, Ks).

kai.photometry.test_atmosphere_profile_interp()[source]