IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2015, 12:53:55 PM (11 years ago)
Author:
eugene
Message:

add testing; rename HAS_STACK with HAS_PS1_STACK; use synth phot if no ps1 data exists

File:
1 edited

Legend:

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

    r38471 r38473  
    293293    }
    294294
    295     // force the synthetic magnitude (apply zpt calibration if no tycho photometry exists)
    296     if (results->needSYN[Nsec]) {
     295    // use the synthetic magnitude for mean photometry (apply zpt calibration if no tycho
     296    // photometry exists)
     297    if (results->needSYN[Nsec] || (!results->havePS1[Nsec] && results->haveSYN[Nsec])) {
    297298      if (!isSetMrelFinal) continue;
    298299
     
    656657    }
    657658
    658     secfilt[Nsec].flags |= ID_SECF_HAS_STACK;
     659    secfilt[Nsec].flags |= ID_SECF_HAS_PS1_STACK;
    659660  } // Nsecfilt loop
    660661
Note: See TracChangeset for help on using the changeset viewer.