Skip to content

Commit

Permalink
Fix some of the extra scripts py27-py36 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarayan committed Nov 19, 2017
1 parent da9d54e commit c6d9f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/stsci/convert_zeropoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def main():
corr = 2.5*np.log10(EE_r10/EE_r)
ZP_r10 = uvis_zp[uvis_mag_sys][ind_pb][0]

print pb, ZP_r10, corr, ZP_r10-corr
print(pb, ZP_r10, corr, ZP_r10-corr)
out.append((pb, ZP_r10, corr, ZP_r10-corr))


Expand Down Expand Up @@ -93,7 +93,7 @@ def main():
EE_r = f(ir_wave, ir_rap)[0]
corr = 2.5*np.log10(EE_r0p4/EE_r)

print pb, ZP_r0p4, corr, ZP_r0p4-corr
print(pb, ZP_r0p4, corr, ZP_r0p4-corr)
out.append((pb, ZP_r0p4, corr, ZP_r0p4-corr))

out = np.rec.fromrecords(out, names='pb,MAST_zp,EE_corr,WDcalib_zp')
Expand Down

0 comments on commit c6d9f0e

Please sign in to comment.