Commit eb6da5d9 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

add csst module

parent be9a258d
......@@ -233,6 +233,3 @@ csst = Telescope(
name="CSST",
instruments=[msc, mci, ifs, cpic, hstdm],
)
# csst.instruments
# csst["msc"].detectors[0]
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment