IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39290


Ignore:
Timestamp:
Dec 18, 2015, 3:07:32 PM (11 years ago)
Author:
eugene
Message:

fix ubercal dist

Location:
trunk/Ohana/src/relphot/src
Files:
2 edited

Legend:

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

    r38466 r39290  
    720720      image[im].dMcal = mosaic[i].dMcal;
    721721      image[im].Xm = mosaic[i].Xm;
     722      image[im].ubercalDist = mosaic[i].ubercalDist;
    722723      image[im].dMagSys = mosaic[i].dMsys;
    723724      image[im].nFitPhotom = mosaic[i].nFitPhotom;
  • trunk/Ohana/src/relphot/src/setMrelCatalog.c

    r39262 r39290  
    7474    }
    7575  }
    76 
    7776  return (TRUE);
    7877}
     
    360359    int minRank = (Nranking > 0) ? results->psfData[Nsec].ranking[0] : 10;
    361360
     361    // when running -averages, we have no information about the images, so we cannot set this
     362    if (results->minUbercalDist[Nsec] > -1) {
     363      secfilt[Nsec].ubercalDist = results->minUbercalDist[Nsec];
     364    }
     365
    362366    if (isSetMrelFinal) {
    363367      if ((average[0].objID == TEST_OBJ_ID) && (average[0].catID == TEST_CAT_ID)) {
     
    367371      // mark the measurements matching this ranking
    368372      markMeasureByRanking (&results->psfData[Nsec], measure, minRank, ID_MEAS_PHOTOM_PSF);
    369 
    370       // when running -averages, we have no information about the images, so we cannot set this
    371       if (results->minUbercalDist[Nsec] > -1) {
    372         secfilt[Nsec].ubercalDist = results->minUbercalDist[Nsec];
    373       }
    374373
    375374      if (Nranking) {
Note: See TracChangeset for help on using the changeset viewer.