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
csst-pipeline
csst_proto
Commits
3b3ba9ed
Commit
3b3ba9ed
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
updated example
parent
69b719fe
dev
main
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/how_this_code_will_be_used.py
+11
-2
examples/how_this_code_will_be_used.py
with
11 additions
and
2 deletions
+11
-2
examples/how_this_code_will_be_used.py
+
11
-
2
View file @
3b3ba9ed
...
@@ -49,10 +49,19 @@ class CsstProcFlipImage(CsstProcessor):
...
@@ -49,10 +49,19 @@ class CsstProcFlipImage(CsstProcessor):
return
return
@
staticmethod
@
staticmethod
def
run_one_detector
(
dm
,
ccd_id
):
def
run_one_detector
(
dm
:
CsstMscDataManager
,
ccd_id
:
int
=
6
):
""" run for one detector
""" run for one detector
this function
Parameters
----------
dm:
csst data manager, used to manage the input/output file paths
ccd_id:
detector id
Returns
-------
the flipped image
"""
"""
# input file path
# input file path
fp_input
=
dm
.
l1_ccd
(
ccd_id
,
post
=
"img.fits"
)
fp_input
=
dm
.
l1_ccd
(
ccd_id
,
post
=
"img.fits"
)
...
...
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