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-pipeline
csst_proto
Commits
3b3ba9ed
Commit
3b3ba9ed
authored
Aug 23, 2022
by
BO ZHANG
🏀
Browse files
updated example
parent
69b719fe
Changes
1
Show whitespace changes
Inline
Side-by-side
examples/how_this_code_will_be_used.py
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"
)
...
...
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