IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36768


Ignore:
Timestamp:
May 23, 2014, 9:37:41 AM (12 years ago)
Author:
eugene
Message:

add a test image for debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140423/Ohana/src/uniphot/src/update_catalog_fiximids.c

    r35764 r36768  
    11# include "fiximids.h"
     2
     3// test image: 2013/06/15,13:25:51, GPC1.r.XY50
     4static int CHECK_TEST_IMAGE = FALSE;
     5static unsigned int Tref = 1378812312;
     6static short Cref = 10001;
    27
    38void update_catalog_fiximids (Catalog *catalog) {
     
    1823    short photcode = catalog[0].measure[i].photcode;
    1924    e_time time = catalog[0].measure[i].t;
     25
     26    if (CHECK_TEST_IMAGE && (abs(time - Tref) < 10) && (photcode == Cref)) {
     27      fprintf (stderr, ".");
     28    }
    2029
    2130    // skip detections with no valid imageID (eg, ref photcode)
Note: See TracChangeset for help on using the changeset viewer.