IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 4, 2012, 6:01:04 AM (14 years ago)
Author:
eugene
Message:

update mksource.pl to track the three variant series (PS1_V?, PS1_DV?, PS1_SV?) separate -- this lets us have >< rules for each set; set PLTSCALE to have sign based on axis parity (+ve = sky parity); finalize PS1_V4, PS1_SV2, PS1_DV3; add AP_FLUX & AP_FLUX_SIG to PS1_V4, SV2, DV3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120805/psModules/src/objects/pmSourceOutputs.c

    r34376 r34381  
    227227    *pltScale = 0.5*(pltScale_x + pltScale_y);
    228228
     229    float crossProduct = dTPx_dCHx * dTPy_dCHy - dTPx_dCHy * dTPy_dCHx;
     230    if  (crossProduct > 0.) {
     231      *pltScale *= -1.0;
     232    }
     233
    229234    float posAngle_x = atan2 (+dTPy_dCHx, +dTPx_dCHx);
    230235    float posAngle_y = atan2 (-dTPy_dCHy, +dTPx_dCHy);
Note: See TracChangeset for help on using the changeset viewer.