IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32285 for trunk/ippToPsps


Ignore:
Timestamp:
Sep 1, 2011, 11:15:10 PM (15 years ago)
Author:
rhenders
Message:

deleting detections with flux < 0.0000001. a temporary hack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/detectionbatch.py

    r32210 r32285  
    456456
    457457        # now delete bad flux and bad chip positions
     458        sql="DELETE FROM " + pspsTableName + " WHERE instFlux < 0.0000001" # TODO clearly a hack = 0 not allowed for instFlux
     459        self.scratchDb.execute(sql)
     460
    458461        results['NULLINSTFLUX'] = self.scratchDb.reportAndDeleteRowsWithNULLS(pspsTableName, "instFlux")
    459462        results['NULLPEAKADU'] = self.scratchDb.reportAndDeleteRowsWithNULLS(pspsTableName, "peakADU")
Note: See TracChangeset for help on using the changeset viewer.