Skip to content

Commit

Permalink
post review
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Dec 20, 2018
1 parent 863a752 commit aafaa21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/jointcal/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def compute(catalogs, photoCalibs):
for ref in data_refs:
calib = ref.get('calexp_calib')
fluxMag0 = calib.getFluxMag0()
# TODO: the old Calib is defined in Jy, so convert to nJy (goes away post-DM-10153)
old_calibs.append(lsst.afw.image.PhotoCalib(1e9/fluxMag0[0], 1e9*fluxMag0[1]/fluxMag0[0]**2))

self.old_dist, self.old_flux, self.old_ref_flux, self.old_source = compute(old_cats, old_calibs)
Expand Down

0 comments on commit aafaa21

Please sign in to comment.