Changeset 41641
- Timestamp:
- Jun 4, 2021, 12:37:12 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-ps1-20210510/psastro/src/psastroLoadGhosts.c
r41634 r41641 120 120 121 121 //We need to check whether we are dealing with an old style ghost_model, or a new style model. Check if the mirror_rad polynomial exists 122 float mirCheck = 0;122 int mirCheck = 0; 123 123 md = psMetadataLookupMetadata (&status, ghostModel, "GHOST.MIRROR.RAD"); 124 124 if (!md) { psLogMsg ("psastro", PS_LOG_INFO, "No ghost mirror_rad polynomial found. Assuming old-style ghost masking"); } … … 210 210 double theta0 = atan2(cal->FP->x,cal->FP->y); 211 211 212 if( mirCheck) {212 if((mirCheck) & (!cenChip)) { 213 213 //TdB: first mirror the reference star positions (around the 0,0 pixel) using the radial offset coefficients and the ghost/star angle 214 214 double ghost_offset_rad = psPolynomial1DEval (mirrorRad, rSrc);
Note:
See TracChangeset
for help on using the changeset viewer.
