IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27521


Ignore:
Timestamp:
Mar 29, 2010, 4:05:56 PM (16 years ago)
Author:
eugene
Message:

temporary PS1 + 2MASS flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/StarOps.c

    r27435 r27521  
    194194  Nsecfilt = catalog[0].Nsecfilt;
    195195
     196# define PSFQUALSTATS 1
    196197  for (i = 0; i < Ncatalog; i++) {
    197198    for (j = 0; j < catalog[i].Naverage; j++) {
     
    213214
    214215          // XXX only apply this filter for psphot data from GPC1 for now...
    215           if (0 && (catalog[i].measure[m].photcode > 10000) && (catalog[i].measure[m].photcode < 10500)) {
     216          if (PSFQUALSTATS && (catalog[i].measure[m].photcode > 10000) && (catalog[i].measure[m].photcode < 10500)) {
    216217              if (catalog[i].measure[m].psfQual < 0.85) continue;
    217218          }
     
    235236      // update average flags based on the detection stats. 
    236237      // XXX we need to clean this up -- this is a serious set of hacks...
    237       if (0) {
     238      if (PSFQUALSTATS) {
    238239        int Galaxy2MASS, GalaxySDSS, goodPS1, nEXT, nPSF, good2MASS;
    239240
Note: See TracChangeset for help on using the changeset viewer.