IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 16, 2012, 3:30:03 PM (14 years ago)
Author:
Serge CHASTEL
Message:

PLTSCALE bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMopsRead.c

    r34650 r34672  
    364364      det->mask->data.U8[row] = 0;
    365365      plateScale += scale;
     366      //Update the platescale value (should be a constant)
     367      if (isfinite(scale)) {
     368          det->platescale = scale;
     369      }
    366370      numGood++;
    367371
     
    385389        det->raExtErr->data.F64[row] = errScale * sqrt(cosAngle2 * xErr2 + sinAngle2 * yErr2);
    386390        det->decExtErr->data.F64[row] = errScale * sqrt(sinAngle2 * xErr2 + cosAngle2 * yErr2);
    387         //Update the platescale value (should be a constant)
    388         det->platescale = scale;
    389391      }
    390392    }
Note: See TracChangeset for help on using the changeset viewer.