slotphot
- Slotphot is a tool to do photometry on a serious of data obtained with
- slotmode configuration of salticam. After reading in the arguments, the
algorithm is the following:
- Open th fits file
- Subtact a smooth background
- Centroid the comparison star to acount for drift
- Photometry on Comparison and target star
- Write data
- Plot data [optional]
- Write fits [optional]
One of the basic assumptions of this program are that
the target and comparison star are on the same amplifier
Updates:
- 20080616
- Fixed a number of small bugs
- Updated the handling of multiple amplifiers so that the program can now handle having the newfits as as an input file
- 20080910
- Corrected the background subtraction. Now a pixel is replaced with the median of its row if its two bright
- Added option to allow row-by-row median subtraction
- 20081027
- Added limits to the finddrift to limit it to within a set number of pixels
- Gives the users on local background subraction and annullur definition
- 20090609
-
-
slotphot.slotphot(images, outfile, srcfile, newfits=None, phottype='square', subbacktype='median', sigback=3, mbin=7, sorder=3, niter=5, sigdet=5, contpix=10, ampperccd=2, ignorexp=6, driftlimit=10.0, finddrift=True, outtype='ascii', reltime=True, clobber=True, logfile='salt.log', verbose=True)
Perform photometry on listed SALT slotmode images.