Changeset 36190 for trunk/ippToPsps/jython/stackbatch.py
- Timestamp:
- Oct 9, 2013, 12:18:10 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/stackbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/stackbatch.py
r36147 r36190 243 243 cnt=cnt+1 244 244 245 sql=sql+"WHERE a.ippDetectID=b.IPP_IDET AND b.PSF_FWHM"+psfCondition245 sql=sql+"WHERE a.ippDetectID=b.IPP_IDET AND "+psfCondition 246 246 self.scratchDb.execute(sql) 247 247 … … 633 633 634 634 # TODO temporarily loading 1st convolved fluxes into unconvolved fields 635 636 #This assumes that there are 3 different fluxs, the first is unconv, and the 2nd and 3rd are convolved. If there are more than 3 fluxes it will break. 637 # If there are more than 3 types of fluxes, we should do a count to find out how many there are and adjust this accordingly (make it more robust) 638 635 639 self.logger.infoPair("Adding fluxes", "un-convolved") 636 self.updateApFlxs("", " IS NULL")640 self.updateApFlxs("", "((b.table_index -1) % 3 = 0)") 637 641 self.logger.infoPair("Adding fluxes", "1st convolved") 638 self.updateApFlxs("c1", " < 7.0")642 self.updateApFlxs("c1", "((b.table_index -1) % 3 = 1)") 639 643 self.logger.infoPair("Adding fluxes", "2nd convolved") 640 self.updateApFlxs("c2", " > 7.0")644 self.updateApFlxs("c2", "((b.table_index -1) % 3 = 2)") 641 645 642 646 self.logger.infoPair("Adding", "petrosians for extended sources")
Note:
See TracChangeset
for help on using the changeset viewer.
