Commit 50f8dc5d authored by Liu Dezi's avatar Liu Dezi
Browse files

Replace test_field_distortion.py

parent f38cb239
Pipeline #4412 passed with stage
in 0 seconds
...@@ -238,7 +238,7 @@ def field_distortion_model( ...@@ -238,7 +238,7 @@ def field_distortion_model(
# if iccd!=1: continue # if iccd!=1: continue
iccdKey = "ccd" + str("0%d" % (iccd))[-2:] iccdKey = "ccd" + str("0%d" % (iccd))[-2:]
# open the ditortion data # open the ditortion 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")
ixwList, iywList = [], [] ixwList, iywList = [], []
......
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