Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bo Zhang
csst
Commits
2c14e4c3
Commit
2c14e4c3
authored
Mar 03, 2022
by
BO ZHANG
🏀
Browse files
added fit_code
parent
1ccdfc65
Changes
4
Show whitespace changes
Inline
Side-by-side
doc/source/api/csst.co
mmon
.rst
→
doc/source/api/csst.co
re
.rst
View file @
2c14e4c3
csst.co
mmon
csst.co
re
=========
==
=========
csst.co
mmon
.data
csst.co
re
.data
--------------
--
--------------
.. automodule:: csst.co
mmon
.data
.. automodule:: csst.co
re
.data
:members:
:members:
:undoc-members:
:undoc-members:
:show-inheritance:
:show-inheritance:
csst.co
mmon
.exception
csst.co
re
.exception
---------------------
---------------------
.. automodule:: csst.co
mmon
.exception
.. automodule:: csst.co
re
.exception
:members:
:members:
:undoc-members:
:undoc-members:
:show-inheritance:
:show-inheritance:
csst.co
mmon
.processors
csst.co
re
.processors
----------------------
----------------------
.. automodule:: csst.co
mmon
.processor
s
.. automodule:: csst.co
re
.processor
:members:
:members:
:undoc-members:
:undoc-members:
:show-inheritance:
:show-inheritance:
doc/source/conf.py
View file @
2c14e4c3
# Configuration file for the Sphinx documentation builder.
# Configuration file for the Sphinx documentation builder.
#
#
# This file only contains a selection of the most co
mmon
options. For a full
# This file only contains a selection of the most co
re
options. For a full
# list see the documentation:
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# https://www.sphinx-doc.org/en/master/usage/configuration.html
...
...
doc/source/fit_code.rst
0 → 100644
View file @
2c14e4c3
Fit your code to this project
=============================
Take the main survey (MSC) as an example.
A demo structure is shown below.
.. code-block:: shell
msc
├── __init__.py
├── data.py
│ └── CsstMscImgData class
└── processor.py
└── CsstMscImgL0Proc class
The data class
--------------
For each instrument, a specific data class should be constructed.
`CsstData` class is the root class.
.. code-block:: shell
CsstData
└── CsstMscData
└── CsstMscImgData
The pipeline
------------
A pipeline should have the structure like below.
.. code-block:: shell
CsstMscImgL0Proc
├── prepare()
├── run()
└── cleanup()
doc/source/index.rst
View file @
2c14e4c3
.. csst documentation master file, created by
sphinx-quickstart on Tue Mar 1 14:45:29 2022.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
****
csst
csst
****
====
.. image:: https://readthedocs.org/projects/csst/badge/?version=latest
.. image:: https://readthedocs.org/projects/csst/badge/?version=latest
:target: https://csst.readthedocs.io/en/latest/?badge=latest
:target: https://csst.readthedocs.io/en/latest/?badge=latest
...
@@ -13,39 +7,49 @@ csst
...
@@ -13,39 +7,49 @@ csst
`csst` is the pipeline package for the **CSST** (Chinese Space Station Telescope).
`csst` is the pipeline package for the **CSST** (Chinese Space Station Telescope).
*
g
ithub: https://github.com/csster/csst
*
G
ithub: https://github.com/csster/csst
* PYPI: https://pypi.org/project/csst
* PYPI: https://pypi.org/project/csst
************
Installation
Installation
************
------------
Install using `pip <https://pypi.org/project/matplotlib>`__:
Install using `pip <https://pypi.org/project/matplotlib>`__:
.. code-block:: bash
.. code-block:: bash
pip install -U git+git://github.com/csster/csst
pip install -U git+git://github.com/csster/csst
or
or
.. code-block:: bash
.. code-block:: bash
pip install -U csst
pip install -U csst
.. toctree::
.. toctree::
:caption: Examples
:caption: Examples
:maxdepth: 1
:maxdepth: 1
tutorial
tutorial
fit_code
.. toctree::
.. toctree::
:maxdepth: 2
:maxdepth: 2
:caption: API
:caption: API
api/csst.co
mmon
.rst
api/csst.co
re
.rst
api/csst.msc.rst
api/csst.msc.rst
The CSST team
-------------
Contributors to `csst` packages
* A
* B
* C
.. sectionauthor:: Bo Zhang <bozhang@nao.cas.cn>
.. sectionauthor:: Bo Zhang <bozhang@nao.cas.cn>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment