IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41642


Ignore:
Timestamp:
Jun 4, 2021, 1:18:29 PM (5 years ago)
Author:
tdeboer
Message:

update to ghost locations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-ps1-20210510/psastro/src/psastroLoadGhosts.c

    r41641 r41642  
    332332                    double theta0 = atan2(ref->FP->y,ref->FP->x);
    333333
    334                     if(mirCheck) {
     334                    if((mirCheck) & (!cenChip)) {
    335335                         //TdB: first mirror the reference star positions (around the 0,0 pixel) using the radial offset coefficients and the ghost/star angle
    336336                        double ghost_offset_rad = psPolynomial1DEval (mirrorRad, rSrc);
     
    342342                        ghost->FP->y = ghost_y_fpa_mirror + psPolynomial2DEval(centerY, ghost_x_fpa_mirror, ghost_y_fpa_mirror);
    343343                    } 
    344                     if(!mirCheck) {
     344                    if((!mirCheck) | cenChip) {
    345345                        //Use the old-style ghost position determination
    346346                        ghost->FP->x = -ref->FP->x + psPolynomial2DEval(centerX, -ref->FP->x, -ref->FP->y);
Note: See TracChangeset for help on using the changeset viewer.