IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2015, 7:19:52 AM (11 years ago)
Author:
eugene
Message:

use pslib-setsvnversion; add monte-carlo analysis of galaxy shape errors

Location:
trunk/psastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src

    • Property svn:ignore
      •  

        old new  
        1818psastroExtract
        1919psastroVersionDefinitions.h
         20psastroVersionDefinitions.h.tmp
  • trunk/psastro/src/psastroConvert.c

    r36868 r38040  
    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.