IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 4, 2012, 6:28:02 AM (14 years ago)
Author:
eugene
Message:

use PS1_V3 fields ubercalDist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/relphot/src/ImageOps.c

    r33394 r33399  
    338338
    339339  if (image[i].flags & IMAGE_BAD) return (1000); 
    340   distance = image[i].dummy3; // XXX dummy3 == ubercalDist
     340  distance = image[i].ubercalDist; // was dummy3 in structure
    341341  return (distance);
    342342}
     
    413413    // we optionally do not recalibrate images with UBERCAL zero points
    414414    if (image[i].flags & ID_IMAGE_PHOTOM_UBERCAL) {
    415       image[i].dummy3 = 0; // dummy3 = ubercalDist
     415      image[i].ubercalDist = 0; // was dummy3
    416416      if (KEEP_UBERCAL) continue;
    417417    }
     
    515515    // minUbercalDist calculated here is the min value for any star owned by this image
    516516    // since this particular image is tied to that star, bump its distance by 1
    517     image[i].dummy3 = minUbercalDist + 1;
     517    image[i].ubercalDist = minUbercalDist + 1;
    518518  }
    519519  free (list);
Note: See TracChangeset for help on using the changeset viewer.