From 07a727fcd9de7b79ed03f295760a25e2324c9dbf Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Mon, 31 Oct 2022 19:50:57 +0800 Subject: [PATCH] updated access code and DFS interfaces --- doc/source/ch08_csst_common.rst | 61 +++++++++++++++++++++++++-------- 1 file changed, 47 insertions(+), 14 deletions(-) diff --git a/doc/source/ch08_csst_common.rst b/doc/source/ch08_csst_common.rst index ebc6fef..4981994 100644 --- a/doc/source/ch08_csst_common.rst +++ b/doc/source/ch08_csst_common.rst @@ -137,24 +137,45 @@ raw 0 ``dm.l0_log(detector=detector)`` ``csst_ms_mbi_distortion`` -- ``dm.l1_detector(detector=detector, post="wcs.head")`` fits head with WCS ``csst_ms_mbi_position`` -- ``dm.l1_detector(detector=detector, post="img.acat")`` photometry catalog ``csst_ms_mbi_position`` -- ``dm.l1_detector(detector=detector, post="img.rcat")`` reference catalog -``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="img_L1.fits")`` sci image (L1) -``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="flg_L1.fits")`` flag image (L1) -``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="wht_L1.fits")`` weight image (L1) +``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="img_L1.fits")`` sci image +``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="flg_L1.fits")`` flag image +``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="wht_L1.fits")`` weight image +``csst_ms_mbi_photometry`` 1 ``dm.l1_detector(detector=detector, post="cat.fits")`` source catalog +``csst_ms_mbi_photometry`` 1 ``dm.l1_detector(detector=detector, post="psf.fits")`` source catalog ========================== ===== ========================================================== ================== -``Slit-Less Spectra`` -^^^^^^^^^^^^^^^^^^^^^ -========================== ===== ========================================================== ================== +``Slit-Less Spectra 2D`` +^^^^^^^^^^^^^^^^^^^^^^^^ +========================== ===== =========================================================== ================== Data source Level File name / access code Notes -========================== ===== ========================================================== ================== -raw 0 ``dm.l0_detector(detector=detector)`` sci image -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`` 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 -========================== ===== ========================================================== ================== +========================== ===== =========================================================== ================== +raw 0 ``dm.l0_detector(detector=detector)`` sci image +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`` 1 ``dm.l1_detector(detector=detector, post="L1_1_flt.fits")`` corrected image +``csst_ms_sls_position`` -- ``dm.l1_detector(detector=detector, post="L1_1.fits")`` WCS determined +========================== ===== =========================================================== ================== + + +``Slit-Less Spectra 1D`` +^^^^^^^^^^^^^^^^^^^^^^^^ +=========================== ===== =============================================================== ================== +Data source Level File name / access code Notes +=========================== ===== =============================================================== ================== +``csst_ms_sls_position`` -- ``dm.l1_detector(detector=detector, post="L1_1.fits")`` L1 SLS image +``csst_common`` -- ``dm.target_detectors[0]`` detector number +``csst_ms_sls_mosaic`` -- ``dm.l1_detector(detector=detector, post="coadd.fits")`` coadded image +``csst_ms_sls_mosaic`` -- ``dm.l1_detector(detector=detector, post="coadd.weight.fits")`` coadded weight +``csst_ms_sls_directimage`` -- ``dm.l1_detector(detector=detector, post="dir_img.fits")`` cropped image +``csst_ms_sls_directimage`` -- ``dm.l1_detector(detector=detector, post="dir_wht.fits")`` cropped weight +``csst_ms_sls_objextract`` -- ``dm.l1_detector(detector=detector, post="comb.cat")`` combined catalog +``csst_ms_sls_objextract`` -- ``dm.l1_detector(detector=detector, post="segmentation.fits")`` segmentation file +``csst_ms_sls_sky`` -- ``dm.l1_detector(detector=detector, post="L1_1_sky.fits")`` sky background +``csst_ms_sls_axe`` -- ``dm.l1_detector(detector=detector, post="L1_1_axe.fits")`` aXe spectra +``csst_ms_sls_cde`` -- ``dm.l1_detector(detector=detector, post="L1_1_cde.fits")`` CDE spectra +=========================== ===== =============================================================== ================== ``csst_common.file_recorder.FileRecorder`` @@ -283,3 +304,15 @@ Module Identifier ----------------- to be updated + +DFS interfaces +-------------- + +==================================== ====================== ========================================== +Method Function Original DFS interface +==================================== ====================== ========================================== +``CsstMsDataManager.dfs_query_rc()`` query catalog from DFS ``csst_dfs_api.common.catalog.CatalogApi`` +``CsstMsDataManager.dfs_query_l0()`` query L0 data from DFS -- +``CsstMsDataManager.dfs_query_l1()`` query L1 data from DFS -- +``CsstMsDataManager.dfs_push_l1()`` push L1 data to DFS ``csst_dfs_api.msc.level1.Level1DataApi`` +==================================== ====================== ========================================== \ No newline at end of file -- GitLab