Commit f38cb239 authored by Liu Dezi's avatar Liu Dezi
Browse files

Replace test_field_distortion.py

parent 06867319
Pipeline #4410 failed with stage
in 0 seconds
...@@ -186,7 +186,7 @@ def field_distortion_model( ...@@ -186,7 +186,7 @@ def field_distortion_model(
iccdKey = "ccd" + str("0%d" % (iccd))[-2:] iccdKey = "ccd" + str("0%d" % (iccd))[-2:]
# load PSF data # load PSF data
ipsfDatn = cat_dir + "ccd%d_%s.dat" % (iccd, iwaveKey) ipsfDatn = os.path.join(cat_dir, "ccd%d_%s.dat" % (iccd, iwaveKey))
ipsfDat = Table.read(ipsfDatn, format="ascii") ipsfDat = Table.read(ipsfDatn, format="ascii")
for ipsf in range(1, npsf + 1): for ipsf in range(1, npsf + 1):
# if ipsf!=2: continue # if ipsf!=2: continue
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment