IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29315


Ignore:
Timestamp:
Oct 4, 2010, 3:02:38 PM (16 years ago)
Author:
eugene
Message:

init the projection information for the image on startup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/Ohana/src/kapa2/src/Image.c

    r29220 r29315  
    1111  channel->slope = 1;
    1212
     13  channel->coords.pc1_1 = channel->coords.pc2_2 = 1.0;
     14  channel->coords.pc1_2 = channel->coords.pc2_1 = 0.0;
     15  channel->coords.crval1 = 0.0;
     16  channel->coords.crval2 = 0.0;
     17  channel->coords.crpix1 = 0.0;
     18  channel->coords.crpix2 = 0.0;
     19  channel->coords.cdelt1 = channel->coords.cdelt2 = 1.0;
     20  strcpy (channel->coords.ctype, "RA---LIN");
    1321  channel->coords.Npolyterms = 0;
     22
    1423  channel->matrix.datasize = 0; /* a flag to show there is no data in the matrix */
    1524  ALLOCATE (channel->matrix.buffer, char, 1);  /* allocate so later free will not crash! */
Note: See TracChangeset for help on using the changeset viewer.