IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 11, 2014, 3:39:54 PM (12 years ago)
Author:
eugene
Message:

adding image maps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/getstar/src/MatchImages.c

    r37378 r37386  
    2323  /* we keep the original crpix1,2 and crref1,2 */
    2424  /* for mosaic astrometry, the grid should be w.r.t. the tangent-plane, not chip coords */
     25  InitCoords (&tcoords, "DEC--TAN");
    2526  if (!strcmp (&image[0].coords.ctype[4], "-WRP")) {
    2627    myAssert (image[0].coords.mosaic, "should already have tested this");
    2728    tcoords = image[0].coords.mosaic[0];
    2829    tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0;
    29     tcoords.pc1_1 = tcoords.pc2_2 = 1.0;
    30     tcoords.pc1_2 = tcoords.pc2_1 = 0.0;
    31     tcoords.Npolyterms = 1;
    32     strcpy (tcoords.ctype, "DEC--TAN");
    3330    /* register so image->sky conversions below have correct mosaic */
    3431  } else {
    3532    tcoords = image[0].coords;
    3633    tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0;
    37     tcoords.pc1_1 = tcoords.pc2_2 = 1.0;
    38     tcoords.pc1_2 = tcoords.pc2_1 = 0.0;
    39     tcoords.Npolyterms = 1;
    40     strcpy (tcoords.ctype, "DEC--TAN");
    4134  }
    4235
Note: See TracChangeset for help on using the changeset viewer.