IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2011, 4:38:53 PM (15 years ago)
Author:
eugene
Message:

add support for new image fields nFitAstrom, nFitPhotom, dXpixSys, dYpixSys, dMagSys; fix wrap-around problem for skycat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo/imphot.c

    r29540 r30508  
    99  char bufname[64];
    1010  float *p;
    11   double fx, fy, x, y, applyMcal();
     11  double fx, fy, x, y;
    1212  Image *image;
    1313  Buffer *buf;
     
    6363    for (y = 0; y < 200; y+=1.0) {
    6464      for (x = 0; x < 100; x+=1.0, p++) {
    65         *p = applyMcal (&image[subset[0]], (fx*x), (fy*y));
     65        // *p = applyMcal (&image[subset[0]], (fx*x), (fy*y));
     66        *p = image[subset[0]].Mcal;
    6667      }
    6768    }
     
    7071  for (j = 0; j < Nsubset; j++) {
    7172    i = subset[j];
     73    gprint (GP_ERR, "%s: %f\n", image[i].name, image[i].Mcal);
     74
     75// XXX old code when we had the option of a 2D zero point model
     76# if (0)     
    7277    switch (image[i].order) {
    7378    case 0:
     
    9095      break;
    9196    }
     97# endif
    9298  }
    9399
Note: See TracChangeset for help on using the changeset viewer.