slotview – Analysis and display of slotmode data
slotview images indata fileout srcfile (fps) (phottype) (sigdet) (contpix) (vignfile) (clobber) (logfile) (verbose)
String. Name of the file defining the raw CCD pixel position of two sources in the image data and defining the size of circular aperture for the extraction of source counts and and a circular annulus for the extraction of background counts. The file format is an ascii table with 7 columns and 2 rows. An example is provided below:
# star amplifier x y r r_bkg1 r_bkg2
# ---------------------------------------
1 3 193 11 12 13 14
2 3 37 12 12 13 14
Rows beginning with the character ‘#’ are ignored. Column 1 contains a numeric flag for the star which is either 1 or 2. The target star should be indicated by the value ‘1’ or ‘t’. This should be the same file used to produce the light curve data using slotphot. See slotphot for additional information about the file.
This tool has been developed primarily to analyze the output from slotphot and determine the quality of the observations and photometric analysis of SALTICAM slot mode data. This task is designed for use with the output from SLOTPHOT and specifically for SALTICAM slotmode observations. SLOTVIEW will plot the light curve, display individual frames with the target data, and allow new photometry to be performed.
Using the data in the indata file that contains the information about the light curve, SLOTVIEW will display the lightcurve. By using the right mouse button, the user can zoom in on the time curve and examine a smaller space along the time axis. The graph will automatically resize the flux ratio axis to the data within the selected time region. The frame can be reset by clicking on the reset button which will redraw the original graph over the whole time interval. By clicking on any given time, the frame associated with that time will be displayed.
In addition to display the light curve, slotview will also display individual frames. In each of these frames, the amplifier containing the target star and the comparison star will be displayed. The target will be indicated by a yellow box and the comparison star will be indicated by a green box. The box size is given by the aperture size used in the srcfile and is the aperture in which photometry is performed. The user can watch the time series by using the action buttons below the image display. The user can run the series in forward or revese at the speed set by the fps parameter (single arrow on the display) or at the maximum speed of the computer system (double arrow). The fps parameter gives the frames per second for the display.
If needed, the user can perform new photometry on the image. To perform new photometry for a single image, simple press ‘p’ and press ‘P’ or ‘shift+p’ to perform photometry on all subsequent images. To reset the comparison star in case the object has drifted or disappeared from the frame, place the mouse near the center of the object and press ‘c’. The target star should be re-identified as well, but if it is not or is improperly, the target star can be identified by placing the mouse over the target star and pressing ‘t’. A single frame can be removed from the analysis by pressing ‘D’, and undeleted by pressing ‘u’ with that frame displayed in the ImageData plot.
When complete, the user can close the display either using the quit button or simply by closing the window. If any new photometry has been performed, the fileout file will be written with the new values. The format for fileout will be the same as the indata file.
–> saltview images=”object.fits” outfile=”object.dat” outfile=”object.newdat” srcfile=”targets.dat” fps=”10” phottype=’optimal’ sigdet=5 contpix=10 vignfile=”iraf/extern/salt/salticam/data/SALTICAMslot.def” clobber=y logfile=salt.log verbose=y
The newfits file produced by SLOTPHOT may be very large and as such, it is suggested that a minimum of 512 Mb of RAM be available for the program. As SLOTVIEW does completely read in the newfits file, this may require a large amount of memory and may take some time depending on the system specifications.
The current version of SLOTVIEW has been tested only on SALTICAM slot mode data using slotphot analysis.
Send feedback and bug reports to salthelp@saao.ac.za