Commit 07a727fc authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

updated access code and DFS interfaces

parent 8ef59edf
Loading
Loading
Loading
Loading
Loading
+47 −14
Original line number Diff line number Diff line
@@ -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
========================== ===== ========================================================== ==================
``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