IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2015, 5:55:53 PM (11 years ago)
Author:
eugene
Message:

2.5log(exptime) should be added, not subtracted, from deteff; fix the assignment of skycell/projection/tess ID in diff and forcedwarp; get zpImage from header for Diffs (dvo does NOT calculate); apply platescale to GalShape sizes; remove StackDetectRowID

File:
1 edited

Legend:

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

    r39079 r39094  
    147147            photcode = self.scratchDb.getPhotcodeByName(photcodeName)
    148148           
     149            # XXX hard-wired platescale : 0.25
     150            pltscale = 0.25
     151
    149152            # This is going to need to join elsewhere to get all the fields?
    150153            # XforcedSummaryID, Ra, Dec, RaErr, DecErr
     
    154157            sqlLine.group("a." + filter[1] + "ippDetectID",     "b.DET_ID")
    155158            sqlLine.group("a." + filter[1] + "stackImageID",    "b.IMAGE_ID")
    156             sqlLine.group("a." + filter[1] + "GalMajor",        "b.MAJOR_AXIS")
    157             sqlLine.group("a." + filter[1] + "GalMajorErr",     "b.MAJOR_AXIS_ERR")
    158             sqlLine.group("a." + filter[1] + "GalMinor",        "b.MINOR_AXIS")
    159             sqlLine.group("a." + filter[1] + "GalMinorErr",     "b.MINOR_AXIS_ERR")
     159            sqlLine.group("a." + filter[1] + "GalMajor",        "b.MAJOR_AXIS     * " + str(pltscale))
     160            sqlLine.group("a." + filter[1] + "GalMajorErr",     "b.MAJOR_AXIS_ERR * " + str(pltscale))
     161            sqlLine.group("a." + filter[1] + "GalMinor",        "b.MINOR_AXIS     * " + str(pltscale))
     162            sqlLine.group("a." + filter[1] + "GalMinorErr",     "b.MINOR_AXIS_ERR * " + str(pltscale))
    160163            sqlLine.group("a." + filter[1] + "GalMag",          "b.MAG")
    161164            sqlLine.group("a." + filter[1] + "GalMagErr",       "b.MAG_ERR")
Note: See TracChangeset for help on using the changeset viewer.