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
Bo Zhang
csst
Commits
842e6068
Commit
842e6068
authored
Apr 13, 2022
by
BO ZHANG
🏀
Browse files
tweaks
parent
8c6e9c2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst/msc/pipeline.py
View file @
842e6068
...
...
@@ -30,8 +30,8 @@ for i_ccd in range(6, 26):
raw
=
CsstMscImgData
.
read
(
fp_raw
)
bias
=
raw
.
get_bias
(
PATH_BIAS
.
format
(
i_ccd
))
dark
=
raw
.
get_
bias
(
PATH_DARK
.
format
(
i_ccd
))
flat
=
raw
.
get_
bias
(
PATH_FLAT
.
format
(
i_ccd
))
dark
=
raw
.
get_
dark
(
PATH_DARK
.
format
(
i_ccd
))
flat
=
raw
.
get_
flat
(
PATH_FLAT
.
format
(
i_ccd
))
# initialize Instrument Processor
instProc
=
CsstMscInstrumentProc
()
...
...
@@ -44,6 +44,12 @@ for i_ccd in range(6, 26):
wht
.
writeto
(
"{}/{}.fits"
.
format
(
DIR_WORK
,
wht
.
get_keyword
(
"FILENAME"
)))
flg
.
writeto
(
"{}/{}.fits"
.
format
(
DIR_WORK
,
flg
.
get_keyword
(
"FILENAME"
)))
"""
how to use CssMscImgData:
img = CsstMscImgData.read(filename)
"""
# TODO: position calibration
from
csst.msc.astrometry
import
CsstProcMscPositionCalibration
...
...
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