IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39351


Ignore:
Timestamp:
Feb 15, 2016, 1:38:11 PM (10 years ago)
Author:
eugene
Message:

load the astrometry offset data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/assign_images.c

    r38441 r39351  
    2323  BuildChipMatch (image, Nimage);
    2424  MARKTIME("build chip match for %d images: %f sec\n", (int) Nimage, dtime);
     25
     26  char mapfile[DVO_MAX_PATH];
     27  snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);
     28  table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE);
     29
     30  // assign images.coords.offsetMap -> table->map[i]
     31  if (table) {
     32    AstromOffsetTableMatchChips (image, Nimage, table);
     33  } else {
     34    table = AstromOffsetTableInit ();
     35  }
    2536
    2637  if (MOSAIC_ZEROPT) {
Note: See TracChangeset for help on using the changeset viewer.