Commit 1bb2253e authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent ea38b2fc
Pipeline #234 passed with stages
in 15 seconds
......@@ -22,7 +22,7 @@ A class that helps developers to access simulation files.
dir_pcref="", # position calibration reference (will be deprecated)
path_aux="", # aux file paths (master bias, dark, flat)
assert_all_detectors=False, # if True, assert all detectors are available
datatype="mbi", # "mbi" or "sls"
datatype="mbi", # "mbi", "sls" or "all"
)
dm_mbi.set_detectors(detectors=None) # use all available detectors
......@@ -110,7 +110,8 @@ raw 0 ``dm.l0_detector(detector=detector)``
raw 0 ``dm.l0_crs(detector=detector)`` cosmic ray image
raw 0 ``dm.l0_cat(detector=detector)`` input catalog
raw 0 ``dm.l0_log(detector=detector)`` log file
``csst_ms_sls_instrument`` -- ``dm.l1_detector(detector=detector, post="flt.fits")`` corrected image
``csst_ms_sls_instrument`` 1 ``dm.l1_detector(detector=detector, post="flt.fits")`` corrected image
``csst_ms_sls_position`` -- ``dm.l1_detector(detector=detector, post="L1_1.fits")`` image with wcs
========================== ===== ========================================================== ==================
......@@ -139,7 +140,7 @@ Use ``FileRecorder.add_record()`` to add file records.
test001.txt True Test file 1 False
test002.txt True Test file 2 False
`FileRecorder` inherits from `list`.
``FileRecorder`` inherits from ``list``.
Therefore, if you are collecting records from subprocesses,
here is the way to combine records:
......
......@@ -3,4 +3,7 @@ scipy==1.9.1
joblib==1.2.0
setuptools==58.0.4
astropy==5.1
pycodestyle==2.9.1
\ No newline at end of file
pycodestyle==2.9.1
pytest==7.1.3
pytest-cov==4.0.0
coverage==6.4.4
\ No newline at end of file
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