Loading csst_dag/csst.py +0 −3 Original line number Diff line number Diff line Loading @@ -233,6 +233,3 @@ csst = Telescope( name="CSST", instruments=[msc, mci, ifs, cpic, hstdm], ) # csst.instruments # csst["msc"].detectors[0] tests/test_csst.py 0 → 100644 +14 −0 Original line number Diff line number Diff line 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 Loading
csst_dag/csst.py +0 −3 Original line number Diff line number Diff line Loading @@ -233,6 +233,3 @@ csst = Telescope( name="CSST", instruments=[msc, mci, ifs, cpic, hstdm], ) # csst.instruments # csst["msc"].detectors[0]
tests/test_csst.py 0 → 100644 +14 −0 Original line number Diff line number Diff line 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