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

change doc to docs

parent 79a21dd4
Pipeline #1190 failed with stage
in 0 seconds
...@@ -41,7 +41,7 @@ sh -c "$(curl -fsSL https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main ...@@ -41,7 +41,7 @@ sh -c "$(curl -fsSL https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main
A simple example on how to use this package: A simple example on how to use this package:
```python ```python
from csst_proto.top_level_interface import flip_image from csst_proto.api import flip_image
from astropy.io import fits from astropy.io import fits
# read an L0 image # read an L0 image
......
C7主巡天流水线接口
================
Change list
- ``top_level_interface.py`` 文件改名为``api.py``, 这个文件中用于导入每个python package与流水线的接口函数
- 接口定义更新, 每个开发模块需要把接口函数命名为``base_``开头的函数,例如``base_phot``
Example
.. code-block:: python
def base_distortion(input_file, output_file, )
C7主巡天流水线接口
================
Change list
- 接口文件修改:
``top_level_interface.py`` 文件改名为 ``api.py`` , 这个文件中用于导入每个 python package 与流水线的接口函数
- 接口名称修改:
每个开发模块需要把接口函数命名为 ``base_`` 开头的函数,例如 ``base_phot``
- 接口定义修改:
样例代码如下
.. code-block:: python
def base_distortion(input_file, output_file, rc="./gaia_dr3.fits") -> :
return
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