IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4681


Ignore:
Timestamp:
Jul 30, 2005, 9:18:39 AM (21 years ago)
Author:
eugene
Message:

temporarily force CODE_REF to require 1 measurement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/photometry.c

    r4679 r4681  
    716716  double fwhm, typefrac, dM, Xm;
    717717
     718  /** temporary special case for Jen Katz: exclude REF with Ncode > 1 */
     719  if ((code != NULL) && (code[0].type == PHOT_REF)) {
     720    Nm = 0;
     721    for (i = 0; i < average[0].Nm; i++) {
     722      TESTCODE (code, measure[i]);
     723      Nm++;
     724    }
     725    if (Nm > 1) return (FALSE);
     726  }
     727
    718728  if (!ApplySelections[SelectionParam]) return (TRUE);
    719729
Note: See TracChangeset for help on using the changeset viewer.