IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2010, 4:17:23 PM (16 years ago)
Author:
eugene
Message:

handle unmatched detections and images; add iteration over chips and objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relastro.20100326/src/relastro.c

    r27489 r27497  
    99int main (int argc, char **argv) {
    1010
    11   int status, Ncatalog;
     11  int i, status, Ncatalog;
    1212  Catalog *catalog;
    1313  FITS_DB db;
     
    6161  switch (FIT_TARGET) {
    6262    case TARGET_SIMPLE:
    63       UpdateSimple (catalog, Ncatalog);
     63      for (i = 0; i < NLOOP; i++) {
     64        UpdateObjects (catalog, Ncatalog);
     65        UpdateSimple (catalog, Ncatalog);
     66      }
    6467      break;
    6568
    6669    case TARGET_CHIPS:
    67       UpdateChips (catalog, Ncatalog);
     70      for (i = 0; i < NLOOP; i++) {
     71        UpdateObjects (catalog, Ncatalog);
     72        UpdateChips (catalog, Ncatalog);
     73        MARKTIME("update chips: %f sec\n", dtime);
     74      }
    6875      break;
    6976
    7077    case TARGET_MOSAICS:
    71       UpdateMosaic (catalog, Ncatalog);
     78      for (i = 0; i < NLOOP; i++) {
     79        UpdateObjects (catalog, Ncatalog);
     80        UpdateMosaic (catalog, Ncatalog);
     81      }
    7282      break;
    7383
Note: See TracChangeset for help on using the changeset viewer.