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_common
Commits
099d0cf3
Commit
099d0cf3
authored
Aug 31, 2022
by
BO ZHANG
🏀
Browse files
a tweak due to PyCharm
parent
907b2cae
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
099d0cf3
...
@@ -353,8 +353,6 @@ DIR_SIM = {
...
@@ -353,8 +353,6 @@ DIR_SIM = {
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
# test C3
# test C3
import
os
dm
=
CsstMbiDataManager
(
dm
=
CsstMbiDataManager
(
ver_sim
=
"C3"
,
dir_l0
=
"/data/L1Pipeline/msc/MSC_0000020"
,
dir_l1
=
"/data/L1Pipeline/msc/work"
)
ver_sim
=
"C3"
,
dir_l0
=
"/data/L1Pipeline/msc/MSC_0000020"
,
dir_l1
=
"/data/L1Pipeline/msc/work"
)
print
(
"----- L0 images -----"
)
print
(
"----- L0 images -----"
)
...
@@ -372,8 +370,6 @@ if __name__ == "__main__":
...
@@ -372,8 +370,6 @@ if __name__ == "__main__":
print
(
dm
.
l1_detector
(
25
,
"img.fits"
))
print
(
dm
.
l1_detector
(
25
,
"img.fits"
))
# test C5.1
# test C5.1
import
os
dm
=
CsstMbiDataManager
(
dm
=
CsstMbiDataManager
(
ver_sim
=
"C5.1"
,
dir_l0
=
"/data/sim_data/MSC_0000100"
,
dir_l1
=
"/home/user/L1Pipeline/msc/work"
)
ver_sim
=
"C5.1"
,
dir_l0
=
"/data/sim_data/MSC_0000100"
,
dir_l1
=
"/home/user/L1Pipeline/msc/work"
)
print
(
"----- available detectors -----"
)
print
(
"----- available detectors -----"
)
...
...
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