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-cicd
csst-dag
Commits
eb6da5d9
Commit
eb6da5d9
authored
Jun 29, 2025
by
BO ZHANG
🏀
Browse files
add csst module
parent
be9a258d
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_dag/csst.py
View file @
eb6da5d9
...
@@ -233,6 +233,3 @@ csst = Telescope(
...
@@ -233,6 +233,3 @@ csst = Telescope(
name
=
"CSST"
,
name
=
"CSST"
,
instruments
=
[
msc
,
mci
,
ifs
,
cpic
,
hstdm
],
instruments
=
[
msc
,
mci
,
ifs
,
cpic
,
hstdm
],
)
)
# csst.instruments
# csst["msc"].detectors[0]
tests/test_csst.py
0 → 100644
View file @
eb6da5d9
from
csst_dag.csst
import
csst
csst
.
instruments
assert
csst
[
"msc"
].
n_detector
==
38
assert
csst
[
"msc"
].
n_effective_detector
==
30
assert
csst
[
"mci"
].
n_detector
==
3
assert
csst
[
"mci"
].
n_effective_detector
==
3
assert
csst
[
"ifs"
].
n_detector
==
3
assert
csst
[
"ifs"
].
n_effective_detector
==
3
assert
csst
[
"cpic"
].
n_detector
==
2
assert
csst
[
"cpic"
].
n_effective_detector
==
2
assert
csst
[
"hstdm"
].
n_detector
==
2
assert
csst
[
"hstdm"
].
n_effective_detector
==
2
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