Changeset 40273
- Timestamp:
- Dec 12, 2017, 11:01:25 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r40208 r40273 86 86 87 87 88 89 90 88 if not self.analysisVer: self.analysisVer = -999 91 89 … … 822 820 sqlLine.group("a.ra", "b.ra") 823 821 sqlLine.group("a.dec", "b.dec_") 824 sqlLine.group("a.zp", "b.zp ")822 sqlLine.group("a.zp", "b.zpPSF") 825 823 sqlLine.group("a.telluricExt", "b.telluricExt") 826 824 sqlLine.group("a.airmass", "b.airmass") 827 825 sqlLine.group("a.infoFlag3", "b.flags") 828 826 sqlLine.group("a.expTime", "b.expTime") 829 sqlLine.group("a.psfFlux", "a.psfFlux * b.zpFactor ")830 sqlLine.group("a.psfFluxErr", "a.psfFluxErr * b.zpFactor ")831 sqlLine.group("a.apFlux", "a.apFlux * b.zpFactor ")832 sqlLine.group("a.apFluxErr", "a.apFluxErr * b.zpFactor ")833 sqlLine.group("a.kronFlux", "a.kronFlux * b.zpFactor ")834 sqlLine.group("a.kronFluxErr", "a.kronFluxErr * b.zpFactor ")835 sqlLine.group("a.sky", "a.sky * b.zpFactor ")836 sqlLine.group("a.skyErr", "a.skyErr * b.zpFactor ")827 sqlLine.group("a.psfFlux", "a.psfFlux * b.zpFactorPSF") 828 sqlLine.group("a.psfFluxErr", "a.psfFluxErr * b.zpFactorPSF") 829 sqlLine.group("a.apFlux", "a.apFlux * b.zpFactorAPER") 830 sqlLine.group("a.apFluxErr", "a.apFluxErr * b.zpFactorAPER") 831 sqlLine.group("a.kronFlux", "a.kronFlux * b.zpFactorAPER") 832 sqlLine.group("a.kronFluxErr", "a.kronFluxErr * b.zpFactorAPER") 833 sqlLine.group("a.sky", "a.sky * b.zpFactorAPER") 834 sqlLine.group("a.skyErr", "a.skyErr * b.zpFactorAPER") 837 835 838 836 sql = sqlLine.makeEquals("WHERE a.ippDetectID = b.ippDetectID AND b.imageID = " + str(imageID)) 839 837 840 ## a.psfFlux = a.psfFlux * 3630.78 * POW(10.0, -0.4*b.zp ), \838 ## a.psfFlux = a.psfFlux * 3630.78 * POW(10.0, -0.4*b.zpPSF), \ 841 839 842 840 # instrumental flux vs Janskies: 843 # b. ZPis defined to include the airmass term and zero point offset from relative calibration or ubercal841 # b.zpPSF is defined to include the airmass term and zero point offset from relative calibration or ubercal 844 842 # (see dvopsps/src/insert_detections_dvopsps_catalog.c:311 845 843 # mag_AB = -2.5*log(flux_DN/sec) + ZP
Note:
See TracChangeset
for help on using the changeset viewer.
