Changeset 41642
- Timestamp:
- Jun 4, 2021, 1:18:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-ps1-20210510/psastro/src/psastroLoadGhosts.c
r41641 r41642 332 332 double theta0 = atan2(ref->FP->y,ref->FP->x); 333 333 334 if( mirCheck) {334 if((mirCheck) & (!cenChip)) { 335 335 //TdB: first mirror the reference star positions (around the 0,0 pixel) using the radial offset coefficients and the ghost/star angle 336 336 double ghost_offset_rad = psPolynomial1DEval (mirrorRad, rSrc); … … 342 342 ghost->FP->y = ghost_y_fpa_mirror + psPolynomial2DEval(centerY, ghost_x_fpa_mirror, ghost_y_fpa_mirror); 343 343 } 344 if( !mirCheck) {344 if((!mirCheck) | cenChip) { 345 345 //Use the old-style ghost position determination 346 346 ghost->FP->x = -ref->FP->x + psPolynomial2DEval(centerX, -ref->FP->x, -ref->FP->y);
Note:
See TracChangeset
for help on using the changeset viewer.
