IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30507


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

replace image.Mxxxx with image.nFitPhotom where appropriate (was overloaded); maintain overload for TRI images

Location:
branches/eam_branches/ipp-20101205/Ohana/src/addstar/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/Ohana/src/addstar/src/calibrate.c

    r27435 r30507  
    225225    image[0].Mcal = M1;
    226226    image[0].dMcal = M2 / sqrt (N);
    227     image[0].Mxxxx = N;
     227    image[0].nFitPhotom = N;
    228228  } else {
    229229    fprintf (stderr, "too few stars\n");
    230230    image[0].Mcal = 10.000;
    231231    image[0].dMcal = 10.000;
    232     image[0].Mxxxx = 0;
    233   }
    234 }
     232    image[0].nFitPhotom = 0;
     233  }
     234}
  • branches/eam_branches/ipp-20101205/Ohana/src/addstar/src/fakeimage.c

    r27435 r30507  
    134134
    135135    image[i+1].nstar = 0;
    136     image[i+1].Myyyy = 0;
    137136
    138137    /* check if chip hits outer bounds of mosaic */
     
    191190  image[0].flags = 0;
    192191  image[0].nstar = 0;
    193   image[0].Myyyy = 0;
    194192
    195193  // XXX need to set the imageID here
  • branches/eam_branches/ipp-20101205/Ohana/src/addstar/src/sky_tessalation.c

    r28673 r30507  
    338338  image[0].photcode = 1; // this needs to be set more sensibly
    339339
    340   image[0].Mx   = xv[0];  image[0].My   = yv[0];
    341   image[0].Mxxx = xv[1];  image[0].Mxyy = yv[1];
    342   image[0].Mxxy = xv[2];  image[0].Myyy = yv[2];
     340  // XXX these overload these value in a silly way
     341  image[0].dXpixSys = xv[0];       image[0].dYpixSys   = yv[0];
     342  image[0].dMagSys  = xv[1];       image[0].nFitAstrom = yv[1];
     343  image[0].photom_map_id = xv[2];  image[0].astrom_map_id = yv[2];
    343344
    344345  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.