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

updated access code

parent fe1d4647
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ The build log includes 6 sections.
      coverage run -m pytest --import-mode=importlib

[6/6] ``Numpydoc`` validation of interfaces
   The status will be non-zero if the following code are unsuccessfully executed

   .. code-block:: bash

+10 −5
Original line number Diff line number Diff line
@@ -75,12 +75,17 @@ 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_mbi_instrument`` 1     ``dm.l1_detector(detector=detector, post="img.fits")``     corrected image
``csst_ms_mbi_instrument`` 1     ``dm.l1_detector(detector=detector, post="flg.fits")``     flag image
``csst_ms_mbi_instrument`` 1     ``dm.l1_detector(detector=detector, post="wht.fits")``     weight image
``csst_ms_mbi_instrument`` 1     ``dm.l1_detector(detector=detector, post="img.head")``     L0 fits header
``csst_ms_mbi_instrument`` --    ``dm.l1_detector(detector=detector, post="img.fits")``     corrected image
``csst_ms_mbi_instrument`` --    ``dm.l1_detector(detector=detector, post="flg.fits")``     flag image
``csst_ms_mbi_instrument`` --    ``dm.l1_detector(detector=detector, post="wht.fits")``     weight image
``csst_ms_mbi_instrument`` --    ``dm.l1_detector(detector=detector, post="img.head")``     L0 fits header
``DFS``                    --    ``dm.l1_file(name="gaia_dfs.fits")``                       reference catalog
``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)
========================== ===== ========================================================== ==================


@@ -93,7 +98,7 @@ 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`` 1     ``dm.l1_detector(detector=detector, post="flt.fits")``     corrected image
``csst_ms_sls_instrument`` --    ``dm.l1_detector(detector=detector, post="flt.fits")``     corrected image
========================== ===== ========================================================== ==================


+0 −4
Original line number Diff line number Diff line
@@ -55,10 +55,6 @@ Developers should use ``Python 3.9.X`` to implement algorithms.
The base docker image will be ``continuumio/anaconda3``, which uses
``Python 3.9.12``.

However, in this example, ``python_requires='>=3.8'`` is because
``readthedocs.io`` only supports ``Python 3.8.X``.


Relative import
---------------
When import a class / function within the same package, a ``relative import``