IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 10, 2006, 8:37:37 AM (19 years ago)
Author:
eugene
Message:

changed p_psProject,p_psDeproject to psProject,psDeproject

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroWCS.c

    r10600 r10613  
    138138        if (fpa->toSky == NULL) {
    139139            // XXX for now, use the identity for TPA <--> FPA
    140             fpa->toTangentPlane = psPlaneDistortIdentity (1);
    141             fpa->fromTangentPlane = psPlaneDistortIdentity (1);
     140            fpa->toTPA = psPlaneDistortIdentity (1);
     141            fpa->fromTPA = psPlaneDistortIdentity (1);
    142142            fpa->toSky = toSky;
    143143        } else {
    144             if (fpa->toTangentPlane == NULL) psAbort ("wcs", "projection defined, tangent-plane not defined");
    145             if (fpa->fromTangentPlane == NULL) psAbort ("wcs", "projection defined, tangent-plane not defined");
     144            if (fpa->toTPA == NULL) psAbort ("wcs", "projection defined, tangent-plane not defined");
     145            if (fpa->fromTPA == NULL) psAbort ("wcs", "projection defined, tangent-plane not defined");
    146146
    147147            // adjust for common toSky for mosaic:
     
    154154       
    155155            psPlaneTransformApply (fp, toFPA, chip); // find the focal-plane coordinate of this chip's 0,0 coordinate
    156             p_psDeproject (sky, fp, toSky); // find the RA,DEC coord of the focal-plane coordinate
    157             p_psProject (fp, sky, fpa->toSky); // find the focal-plane coord of this RA,DEC coord using the ref chip projection
     156            psDeproject (sky, fp, toSky); // find the RA,DEC coord of the focal-plane coordinate
     157            psProject (fp, sky, fpa->toSky); // find the focal-plane coord of this RA,DEC coord using the ref chip projection
    158158
    159159            toFPA->x->coeff[0][0] = fp->x;
Note: See TracChangeset for help on using the changeset viewer.