IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of VideophotometryPipeline


Ignore:
Timestamp:
Oct 25, 2011, 5:10:53 PM (15 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VideophotometryPipeline

    v1 v1  
     1This note describes the IPP video cell photometry pipeline or "VP stage".
     2
     3== VP Run ==
     4vpRun is the table in the IPP database that is used to manage video cell photometry (VP) processing. When a run is processed all OTAs that contain video cells are processed. A new IPP tool program vptool was written to manage the database operations. Exposures are selected for processing using the command "vptool -definebyquery". The selectors are the same as used for chip processing so a wide range of options is available.
     5
     6{{{
     7Usage: vptool -definebyquery [<options>]
     8
     9-definebyquery:
     10  -exp_id              search by exp_id
     11  -exp_name            search by exp_name
     12  -inst                search for camera
     13  -telescope           search for telescope
     14  -dateobs_begin       search for exposures by time (>=)
     15  -dateobs_end         search for exposures by time (<=)
     16  -exp_tag             search by exp_tag
     17  -exp_type            search by exp_type
     18  -filelevel           search by filelevel
     19  -filter              search for filter
     20  -airmass_min         search by min airmass
     21  -airmass_max         search by max airmass
     22  -ra_min              search by min RA (degrees)
     23  -ra_max              search by max RA (degrees)
     24  -decl_min            search by min DEC (degrees)
     25  -decl_max            search by max DEC (degrees)
     26  -exp_time_min        search by min exposure time
     27  -exp_time_max        search by max exposure time
     28  -sat_pixel_frac_min  search by min fraction of saturated pixels
     29  -sat_pixel_frac_max  search by max fraction of saturated pixels
     30  -bg_min              search by min background
     31  -bg_max              search by max background
     32  -bg_stdev_min        search by min background standard deviation
     33  -bg_stdev_max        search by max background standard deviation
     34  -bg_mean_stdev_min   search by min background mean standard deviation (across imfiles)
     35  -bg_mean_stdev_max   search by max background mean standard deviation (across imfiles)
     36  -alt_min             search by min altitude
     37  -alt_max             search by max altitude
     38  -az_min              search by min azimuth
     39  -az_max              search by max azimuth
     40  -ccd_temp_min        search by min ccd tempature
     41  -ccd_temp_max        search by max ccd tempature
     42  -posang_min          search by min rotator position angle
     43  -posang_max          search by max rotator position angle
     44  -sun_angle_min       search by min solar angle
     45  -sun_angle_max       search by max solar angle
     46  -object              search by exposure object
     47  -comment             search by comment field (LIKE comparison)
     48  -obs_mode            search by observation mode
     49  -label               search by newExp label (LIKE comparison)
     50  -set_label           define label
     51  -set_data_group      define data group
     52  -set_workdir         define workdir (required)
     53  -set_note            define note
     54  -set_dest_id         define destination
     55  -pretend             do not actually modify the database
     56  -unique              only queue exposures that have no previous vpRun
     57  -simple              use the simple output format
     58
     59}}}
     60
     61
     62== videophot_process.pl ==
     63The ippScript videophot_process.pl processes an entire vpRun. That is all OTAS are processed by a single job. This may be contrasted with chip processing where each OTA is processed separately. Since each video cell only takes a few seconds to process this is a reasonable choice.
     64
     65The actual processing is performed by the program psvideophot. The output for each video cell is a FITS table (file extension vpt).
     66
     67A second fits file is created which contains the original video cell data that has been extracted from the raw data. TODO: we should make creation of this file optional since it takes up ~4MB per cell (3pi)
     68
     69== vpt table ==
     70Each row in the vpt table contains the data for a frame. The data in the columns have 2 sources:
     71 * The video_table extension created by the GPC1 camera software
     72 * The results of the psvideophot analysis. These columns have names that begin with vp_
     73
     74{{{
     75TTYPE1  = 'frame_start_time'   / label for field   1                           
     76TFORM1  = '1D      '           / data format of field: 8-byte DOUBLE           
     77TTYPE2  = 'frame_complete_time' / label for field   2                         
     78TFORM2  = '1D      '           / data format of field: 8-byte DOUBLE           
     79TTYPE3  = 'centroid_x'         / label for field   3                           
     80TFORM3  = '1D      '           / data format of field: 8-byte DOUBLE           
     81TTYPE4  = 'centroid_y'         / label for field   4                           
     82TFORM4  = '1D      '           / data format of field: 8-byte DOUBLE           
     83TTYPE5  = 'fwhm    '           / label for field   5                           
     84TFORM5  = '1D      '           / data format of field: 8-byte DOUBLE           
     85TTYPE6  = 'fwhm_x  '           / label for field   6                           
     86TFORM6  = '1D      '           / data format of field: 8-byte DOUBLE           
     87TTYPE7  = 'fwhm_y  '           / label for field   7                           
     88TFORM7  = '1D      '           / data format of field: 8-byte DOUBLE           
     89TTYPE8  = 'sky     '           / label for field   8                           
     90TFORM8  = '1D      '           / data format of field: 8-byte DOUBLE           
     91TTYPE9  = 'flux    '           / label for field   9                           
     92TFORM9  = '1D      '           / data format of field: 8-byte DOUBLE           
     93TTYPE10 = 'snr     '           / label for field  10                           
     94TFORM10 = '1D      '           / data format of field: 8-byte DOUBLE           
     95TTYPE11 = 'rowpre  '           / label for field  11                           
     96TFORM11 = '1J      '           / data format of field: 4-byte INTEGER         
     97TTYPE12 = 'cnpix1  '           / label for field  12                           
     98TFORM12 = '1J      '           / data format of field: 4-byte INTEGER         
     99TTYPE13 = 'cnpix2  '           / label for field  13                           
     100TFORM13 = '1J      '           / data format of field: 4-byte INTEGER         
     101TTYPE14 = 'vp_flux '           / label for field  14                           
     102TFORM14 = '1E      '           / data format of field: 4-byte REAL             
     103TTYPE15 = 'vp_median'          / label for field  15                           
     104TFORM15 = '1E      '           / data format of field: 4-byte REAL             
     105TTYPE16 = 'vp_stddev'          / label for field  16                           
     106TFORM16 = '1E      '           / data format of field: 4-byte REAL             
     107TTYPE17 = 'vp_sum  '           / label for field  17                           
     108TFORM17 = '1E      '           / data format of field: 4-byte REAL             
     109TTYPE18 = 'vp_x    '           / label for field  18                           
     110TFORM18 = '1E      '           / data format of field: 4-byte REAL             
     111TTYPE19 = 'vp_y    '           / label for field  19                           
     112TFORM19 = '1E      '           / data format of field: 4-byte REAL             
     113
     114}}}
     115
     116== Results Data Store ==
     117When a run is queued it may optionally be assigned a data store product where results filesets will be posted. See for example http://datastore.ipp.ifa.hawaii.edu/ps1-vp/o5769g0314o.369032.vp.1