IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 23, 2015, 3:37:32 PM (11 years ago)
Author:
eugene
Message:

fillFactor calculated based on apRadius (not apRadius - 0.5); handle case of image not in dvo db (and zpImage not valid); fix unit conversion for stack momentRH; fix units for model fit phiErr (deg, not radians); apply platescale to model Radius, RadiusErr, as well as petRadius and related

File:
1 edited

Legend:

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

    r38951 r38954  
    504504            sqlLine.group("apFlux",       "AP_FLUX / " + expTimeString)
    505505            sqlLine.group("apFluxErr",    "AP_FLUX_SIG / " + expTimeString)
    506             sqlLine.group("apFillF",      "AP_NPIX / (3.14159265359 * POW(AP_MAG_RADIUS - 0.5, 2))")
     506            sqlLine.group("apFillF",      "AP_NPIX / (3.14159265359 * AP_MAG_RADIUS * AP_MAG_RADIUS)")
    507507        sqlLine.group("apRadius",         "AP_MAG_RADIUS * abs(PLTSCALE)")
    508508        sqlLine.group("kronFlux",         "KRON_FLUX / " + expTimeString)
Note: See TracChangeset for help on using the changeset viewer.