Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bo Zhang
csst
Commits
01052910
Commit
01052910
authored
3 years ago
by
niejuzi
Browse files
Options
Download
Email Patches
Plain Diff
update code
parent
7abdbb12
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst/msc/pipeline.py
+1
-1
csst/msc/pipeline.py
with
1 addition
and
1 deletion
+1
-1
csst/msc/pipeline.py
+
1
-
1
View file @
01052910
...
@@ -111,7 +111,6 @@ def do_one_exposure(ver_sim="C5.1", dir_l0="", dir_l1="", dir_pcref="", path_aux
...
@@ -111,7 +111,6 @@ def do_one_exposure(ver_sim="C5.1", dir_l0="", dir_l1="", dir_pcref="", path_aux
if
(
img_list
):
if
(
img_list
):
pcProc
.
run
(
img_list
,
wht_list
,
flg_list
,
fn_list
,
ccd_ids
,
dir_pcref
,
2.0
,
pm_correct
=
True
,
wcs_refine
=
True
,
plot
=
True
)
pcProc
.
run
(
img_list
,
wht_list
,
flg_list
,
fn_list
,
ccd_ids
,
dir_pcref
,
2.0
,
pm_correct
=
True
,
wcs_refine
=
True
,
plot
=
True
)
else
:
else
:
print
(
ccd_ids
)
for
this_ccd_id
in
ccd_ids
:
for
this_ccd_id
in
ccd_ids
:
print
(
type
(
this_ccd_id
),
this_ccd_id
)
print
(
type
(
this_ccd_id
),
this_ccd_id
)
fp_img
=
dm
.
l1_sci
(
ccd_id
=
this_ccd_id
,
suffix
=
"img"
,
ext
=
"fits"
)
fp_img
=
dm
.
l1_sci
(
ccd_id
=
this_ccd_id
,
suffix
=
"img"
,
ext
=
"fits"
)
...
@@ -124,6 +123,7 @@ def do_one_exposure(ver_sim="C5.1", dir_l0="", dir_l1="", dir_pcref="", path_aux
...
@@ -124,6 +123,7 @@ def do_one_exposure(ver_sim="C5.1", dir_l0="", dir_l1="", dir_pcref="", path_aux
wht_list
.
append
(
wht
)
wht_list
.
append
(
wht
)
flg_list
.
append
(
flg
)
flg_list
.
append
(
flg
)
fn_list
.
append
(
dm
.
l1_sci
(
ccd_id
=
this_ccd_id
,
suffix
=
"img"
,
ext
=
"fits"
))
fn_list
.
append
(
dm
.
l1_sci
(
ccd_id
=
this_ccd_id
,
suffix
=
"img"
,
ext
=
"fits"
))
print
(
ccd_ids
)
pcProc
.
run
(
img_list
,
wht_list
,
flg_list
,
fn_list
,
ccd_ids
,
dir_pcref
,
2.0
,
pm_correct
=
True
,
wcs_refine
=
True
,
plot
=
True
)
pcProc
.
run
(
img_list
,
wht_list
,
flg_list
,
fn_list
,
ccd_ids
,
dir_pcref
,
2.0
,
pm_correct
=
True
,
wcs_refine
=
True
,
plot
=
True
)
pcProc
.
cleanup
()
pcProc
.
cleanup
()
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets