IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34572


Ignore:
Timestamp:
Oct 25, 2012, 9:54:34 AM (14 years ago)
Author:
eugene
Message:

distinguish "STACK_PRIMARY" from "STACK_PHOT_SRC" in measure flags

Location:
branches/eam_branches/ipp-20120905/Ohana/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120905/Ohana/src/libdvo/include/dvo.h

    r34569 r34572  
    131131  ID_MEAS_UNDEF_5        = 0x00004000,  // unused
    132132  ID_MEAS_PHOTOM_UBERCAL = 0x00008000,  // externally-supplied zero point from ubercal analysis
    133   ID_MEAS_STACK_PRIMARY  = 0x00010000,  // externally-supplied zero point from ubercal analysis
     133  ID_MEAS_STACK_PRIMARY  = 0x00010000,  // this stack measurement is in the primary skycell
     134  ID_MEAS_STACK_PHOT_SRC = 0x00020000,  // this measurement supplied the stack photometry
    134135} DVOMeasureFlags;
    135136
  • branches/eam_branches/ipp-20120905/Ohana/src/relphot/src/StarOps.c

    r34569 r34572  
    695695          catalog[Nc].secfilt[Nsecfilt*j+Nsec].stackID   = ID;
    696696
    697           catalog[Nc].measure[m].dbFlags |= ID_MEAS_STACK_PRIMARY;
     697          // this is named badly:
     698          catalog[Nc].measure[m].dbFlags |= ID_MEAS_STACK_PHOT_SRC;
     699          if (stackPrimaryMeasureMin >= 0) {
     700            catalog[Nc].measure[m].dbFlags |= ID_MEAS_STACK_PRIMARY;
     701          }
    698702        }
    699703
Note: See TracChangeset for help on using the changeset viewer.