Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-sims
csst_msc_sim
Commits
50f8dc5d
Commit
50f8dc5d
authored
May 09, 2024
by
Liu Dezi
Browse files
Replace test_field_distortion.py
parent
f38cb239
Pipeline
#4412
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_field_distortion.py
View file @
50f8dc5d
...
...
@@ -238,7 +238,7 @@ def field_distortion_model(
# if iccd!=1: continue
iccdKey
=
"ccd"
+
str
(
"0%d"
%
(
iccd
))[
-
2
:]
# 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"
)
ixwList
,
iywList
=
[],
[]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment