IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19595


Ignore:
Timestamp:
Sep 17, 2008, 1:07:02 PM (18 years ago)
Author:
eugene
Message:

PA -> 180 - PA (temporary hack)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryModel.c

    r19506 r19595  
    99 *
    1010 *  @author EAM, IfA
    11  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2008-09-12 01:04:49 $
     11 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2008-09-17 23:07:02 $
    1313 *
    1414 *  Copyright 2007 Institute for Astronomy, University of Hawaii
     
    710710    char *refChip  = psMetadataLookupStr(&status, file->fpa->concepts, "REF_CHIP"); REQUIRE (status, "missing REF_CHIP");
    711711
     712    // XXX we've swapped the sign and parity of POS (add to model)
    712713    // apply true posangle = -(POS - POS_ZERO)
    713714    psLogMsg ("psModules.astrom", 4, "Position Angle: %f, Model Position Angle Zero Point: %f\n", POS, PosZero);
    714     psPlaneTransform *fromTPA = psPlaneTransformRotate (NULL, file->fpa->fromTPA, (POS - PosZero));
     715    psPlaneTransform *fromTPA = psPlaneTransformRotate (NULL, file->fpa->fromTPA, (PosZero - POS));
    715716    psFree (file->fpa->fromTPA);
    716717    file->fpa->fromTPA = fromTPA;
Note: See TracChangeset for help on using the changeset viewer.