IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 13, 2020, 2:48:11 PM (6 years ago)
Author:
tdeboer
Message:

adding detections to crosstalk and ghost masking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroUtils.c

    r26259 r41434  
    132132                    psPlaneTransformApply (raw->TP, fpa->toTPA, raw->FP);
    133133                    psDeproject (raw->sky, raw->TP, fpa->toSky);
     134                }
     135            }
     136
     137            psArray *calstars = psMetadataLookupPtr (NULL, readout->analysis, "PSASTRO.CALSTARS");
     138            if (calstars) {
     139                for (int i = 0; i < calstars->n; i++) {
     140                    pmAstromObj *cal = calstars->data[i];
     141                    psPlaneTransformApply (cal->FP, chip->toFPA, cal->chip);
     142                    psPlaneTransformApply (cal->TP, fpa->toTPA, cal->FP);
     143                    psDeproject (cal->sky, cal->TP, fpa->toSky);
    134144                }
    135145            }
Note: See TracChangeset for help on using the changeset viewer.