IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 10, 2014, 3:00:51 PM (12 years ago)
Author:
heather
Message:

many fixes, mostly fixing bugs pointed out by pspswg, including missing
objects, random numbers, ext_nsigma

missing objects - (things which have detections and stacks) - these are caused
when we cull objects outside the dvo range. Gene says there is a buffer of
about .09 arcmins and suggests we cull things outside of .2 arcmins. This has
been implemented

random ids are not so random due to not setting a seed for the loaders. Random
numbers for a batch are seeded with the batch_ID

requests for sgSep / ExtNSigma as we had back in the good ol' days. This has
been added back for stack

File:
1 edited

Legend:

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

    r37475 r37577  
    942942
    943943    def generateRandomIDs(self):
    944         sql = "UPDATE StackObjectThin set randomStackObjID = FLOOR(RAND()*9223372036854775807)";
     944        sql = "UPDATE StackObjectThin set randomStackObjID = FLOOR(RAND("+str(self.batchID)+")*9223372036854775807)";
    945945        try: self.scratchDb.execute(sql)
    946946        except:
Note: See TracChangeset for help on using the changeset viewer.