IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41168


Ignore:
Timestamp:
Nov 27, 2019, 11:25:02 AM (7 years ago)
Author:
eugene
Message:

add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20191011/ippToPsps/jython/stackbatch.py

    r40294 r41168  
    422422            sqlLine.group("a.dvoRegionID",             "b.catID")                       # this is not filter dependent, but is re-written for each filter (if data exists)
    423423            sqlLine.group("a.primaryDetection",        "((b.flags & 0x10000) >> 16)")   # this is not filter dependent, but is re-written for each filter (if data exists)
     424            ### XXX : primaryDetection is wrong: it should have calculated if (b.flags & 0x10000) was set for all filters
     425            ### b.flags is the filter-dependent STACK_PRIMARY bit -- thus only true if the y-band is primary
     426
    424427            sqlLine.group("a.bestDetection",           "((b.objflags & 0x8000) >> 15)") # this is not filter dependent, but is re-written for each filter (if data exists)
     428            ### XXX : bestDetection grabs the wrong bit.  It should have been (b.filtflags & 0x8000) or (b.objflags  & 0x10000000)
    425429
    426430            sqlLine.group("a."+filter+"haveData",      "'1'")
Note: See TracChangeset for help on using the changeset viewer.