IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2015, 5:32:49 AM (11 years ago)
Author:
eugene
Message:

skip non-gpc1 chips when applying KH correction; in galaxy shape error analysis, measure stdev of theta for a domain of theta - pi : theta + pi; add flags for cases where galaxy shape error analysis fails; add header keyword to note errors are in major,minor,theta not PAR[Sxx,Sxy,Syy]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150326/psastro/src/psastroConvert.c

    r36868 r38030  
    335335  pmChip *chip = readout->parent->parent;
    336336  char *chipName = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME");
     337
     338  // skip stacks
     339  if (!strcmp(chipName, "SkyChip")) {
     340    psLogMsg ("psastro.correctKH", PS_LOG_DETAIL, "skipping KH correction: not a gpc1 chip\n");
     341    return true;
     342  }
     343
     344  // only try to address gpc1 chips (should probably check the camera)
     345  if (strncmp(chipName, "XY", 2)) {
     346    psLogMsg ("psastro.correctKH", PS_LOG_DETAIL, "skipping KH correction: not a gpc1 chip\n");
     347    return true;
     348  }
    337349
    338350  psAssert (strlen(chipName) == 4, "error in chip name");
Note: See TracChangeset for help on using the changeset viewer.