IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 3 and Version 4 of ZoologyDatabase


Ignore:
Timestamp:
Aug 25, 2011, 11:42:56 AM (15 years ago)
Author:
Serge CHASTEL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZoologyDatabase

    v3 v4  
    1313== Table {{{DetectionFeatures}}} ==
    1414
    15  * All detections from footprint have been ingested into the {{{DetectionFeatures}}} table (ask Heather where she got them)
     15 * All detections from footprint (sql/footprint-<filter>-all.sql) have been ingested into the {{{DetectionFeatures}}} table
    1616 * All fields from fits files data/footprint-<filter>-all-psphot.fits have been ingested
    1717 * Six columns have been added:
     
    2121   * filter is g, r, i, y, or z
    2222   * unmatched is a boolean telling if the detection is a false positive (keys: (stack_id, idex_x, idet_y))
     23 * The table unmatched column was updated with sql/<filter>-unmatched.sql
     24 * The CREATE TABLE statement was:
     25{{{
     26CREATE TABLE DetectionFeatures (
     27  id            INT NOT NULL PRIMARY KEY AUTO_INCREMENT
     28  , stack_id    BIGINT(20) NOT NULL
     29  , INDEX(stack_id)
     30  , filter      CHAR(10) NOT NULL
     31  , INDEX(filter)
     32  , skycell_id  CHAR(46) NOT NULL
     33  , INDEX(skycell_id)
     34  , idet        CHAR(18)
     35  , x_psf FLOAT
     36  , y_psf FLOAT
     37  , x_psf_sig FLOAT
     38  , y_psf_sig FLOAT
     39  , posangle FLOAT
     40  , pltscale FLOAT
     41  , psf_inst_mag FLOAT
     42  , psf_inst_mag_sig FLOAT
     43  , psf_inst_flux FLOAT
     44  , psf_inst_flux_sig FLOAT
     45  , ap_mag FLOAT
     46  , ap_mag_raw FLOAT
     47  , ap_mag_radius FLOAT
     48  , peak_flux_as_mag FLOAT
     49  , cal_psf_mag FLOAT
     50  , cal_psf_mag_sig FLOAT
     51  , ra_psf DOUBLE
     52  , dec_psf DOUBLE
     53  , sky FLOAT
     54  , sky_sigma FLOAT
     55  , psf_chisq FLOAT
     56  , cr_nsigma FLOAT
     57  , ext_nsigma FLOAT
     58  , psf_major FLOAT
     59  , psf_minor FLOAT
     60  , psf_theta FLOAT
     61  , psf_qf FLOAT
     62  , psf_qf_perfect FLOAT
     63  , psf_ndof INTEGER
     64  , psf_npix INTEGER
     65  , moments_xx FLOAT
     66  , moments_xy FLOAT
     67  , moments_yy FLOAT
     68  , moments_m3c FLOAT
     69  , moments_m3s FLOAT
     70  , moments_m4c FLOAT
     71  , moments_m4s FLOAT
     72  , moments_r1 FLOAT
     73  , moments_rh FLOAT
     74  , kron_flux FLOAT
     75  , kron_flux_err FLOAT
     76  , kron_flux_inner FLOAT
     77  , kron_flux_outer FLOAT
     78  , flags BIGINT(64)
     79  , flags2 BIGINT(64)
     80  , n_frames INTEGER
     81  , padding INTEGER
     82  , ps_zp DOUBLE
     83  , exptime DOUBLE
     84  , idet_x INTEGER
     85  , idet_y INTEGER
     86  , INDEX(stack_id, idet_x, idet_y)
     87  , unmatched TINYINT(1) DEFAULT 0
     88);
     89}}}
    2390
    2491= View(s) =