IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34806 for trunk/ippToPsps


Ignore:
Timestamp:
Dec 13, 2012, 2:29:21 PM (13 years ago)
Author:
bills
Message:

There were two errors in the calculation of raErr and decErr from the
pixel errors. pltscale can be negative use fabs(pltscale)
and the units for dXccd and dYccd are 1/100 of a pixel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/src/Dvo.c

    r34629 r34806  
    107107                        ave->R - meas->dR / 3600.,    // ra
    108108                        ave->D - meas->dR / 3600.,    // dec
    109                         meas->dXccd * meas->pltscale, // estimate of raErr
    110                         meas->dYccd * meas->pltscale  // estimate of decErr
     109                        meas->dXccd * 0.01 * fabs(meas->pltscale), // estimate of raErr
     110                        meas->dYccd * 0.01 * fabs(meas->pltscale)  // estimate of decErr
    111111                        );
    112112
Note: See TracChangeset for help on using the changeset viewer.