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
csst-pipeline
csst_proto
Commits
e5d20fee
Commit
e5d20fee
authored
Oct 14, 2022
by
BO ZHANG
🏀
Browse files
updated doc
parent
5336187e
Pipeline
#228
passed with stages
in 20 seconds
Changes
11
Pipelines
1
Show whitespace changes
Inline
Side-by-side
doc/source/team.rst
→
doc/source/
ch01_
team.rst
View file @
e5d20fee
...
@@ -28,3 +28,15 @@ The timeline is splitted into cycles, and each cycle spans 6 months.
...
@@ -28,3 +28,15 @@ The timeline is splitted into cycles, and each cycle spans 6 months.
- C6 (2022.7-2022.12)
- C6 (2022.7-2022.12)
- integrate L1 pipelines
- integrate L1 pipelines
- C5 (2022.1-2022.6)
- C5 (2022.1-2022.6)
Weekly meeting
--------------
- 2022-08-26 (Fri)
- 2022-09-02 (Fri)
- 2022-09-09 (Fri)
- 2022-09-16 (Fri)
- 2022-09-23 (Fri)
- 2022-09-30 (Fri)
- 2022-10-14 (Fri)
- 2022-10-21 (Fri)
doc/source/vcs.rst
→
doc/source/
ch02_
vcs.rst
View file @
e5d20fee
File moved
doc/source/packaging.rst
→
doc/source/
ch03_
packaging.rst
View file @
e5d20fee
File moved
doc/source/codestyle.rst
→
doc/source/
ch04_
codestyle.rst
View file @
e5d20fee
File moved
doc/source/
preference/
preference.rst
→
doc/source/
ch05_
preference.rst
View file @
e5d20fee
...
@@ -29,7 +29,7 @@ The two packages are preferred for implementing `embarrassingly` parallel comput
...
@@ -29,7 +29,7 @@ The two packages are preferred for implementing `embarrassingly` parallel comput
- ``multiprocessing``: https://docs.python.org/3/library/multiprocessing.html
- ``multiprocessing``: https://docs.python.org/3/library/multiprocessing.html
- ``joblib``: https://joblib.readthedocs.io/en/latest/
- ``joblib``: https://joblib.readthedocs.io/en/latest/
.. literalinclude::
.
/example_multiprocessing.py
.. literalinclude::
preference
/example_multiprocessing.py
:linenos:
:linenos:
:language: python
:language: python
:caption: an example of using ``multiprocessing`` for parallel computing
:caption: an example of using ``multiprocessing`` for parallel computing
...
@@ -40,7 +40,7 @@ The output is
...
@@ -40,7 +40,7 @@ The output is
Total time cost: 5.095193147659302 sec!
Total time cost: 5.095193147659302 sec!
.. literalinclude::
.
/example_joblib.py
.. literalinclude::
preference
/example_joblib.py
:linenos:
:linenos:
:language: python
:language: python
:caption: an example of using ``joblib`` for parallel computing
:caption: an example of using ``joblib`` for parallel computing
...
...
doc/source/unittest.rst
→
doc/source/
ch06_
unittest.rst
View file @
e5d20fee
File moved
doc/source/simulation.rst
→
doc/source/
ch07_
simulation.rst
View file @
e5d20fee
File moved
doc/source/c
sst_common/
csst_common.rst
→
doc/source/c
h08_
csst_common.rst
View file @
e5d20fee
...
@@ -24,6 +24,7 @@ A class that helps developers to access simulation files.
...
@@ -24,6 +24,7 @@ A class that helps developers to access simulation files.
assert_all_detectors=False, # if True, assert all detectors are available
assert_all_detectors=False, # if True, assert all detectors are available
datatype="mbi", # "mbi" or "sls"
datatype="mbi", # "mbi" or "sls"
)
)
dm_mbi.set_detectors(detectors=None) # use all available detectors
.. code-block:: python
.. code-block:: python
...
@@ -34,6 +35,14 @@ A class that helps developers to access simulation files.
...
@@ -34,6 +35,14 @@ A class that helps developers to access simulation files.
dir_l1=".",
dir_l1=".",
exposure_id=100 # the 100th exposure
exposure_id=100 # the 100th exposure
)
)
dm_mbi.set_detectors(detectors=None) # use all available detectors
.. note::
This ``quickstart`` method is ONLY available on
``dandelion`` and the Purple Mountain Lab node.
In your local development environment, you have to use
``CsstMsDataManager(...)`` to initialize it.
.. code-block:: python
.. code-block:: python
...
@@ -179,7 +188,7 @@ The example code is shown below.
...
@@ -179,7 +188,7 @@ The example code is shown below.
Source code
Source code
^^^^^^^^^^^
^^^^^^^^^^^
.. literalinclude:: example_interface.py
.. literalinclude::
csst_common/
example_interface.py
:caption: ``example_interface.py``
:caption: ``example_interface.py``
:emphasize-lines: 7-11,36-41,85,87-88,91-92,95-96,99-101,111-116,148,155-165,167-173,178-179,182-183,186-187,190-191
:emphasize-lines: 7-11,36-41,85,87-88,91-92,95-96,99-101,111-116,148,155-165,167-173,178-179,182-183,186-187,190-191
:linenos:
:linenos:
...
...
doc/source/build.rst
→
doc/source/
ch09_
build.rst
View file @
e5d20fee
File moved
doc/source/integration.rst
→
doc/source/
ch10_
integration.rst
View file @
e5d20fee
File moved
doc/source/index.rst
View file @
e5d20fee
...
@@ -62,7 +62,7 @@ The guide for LSST developers
...
@@ -62,7 +62,7 @@ The guide for LSST developers
:maxdepth: 2
:maxdepth: 2
:caption: TEAM
:caption: TEAM
team.rst
ch01_
team.rst
.. toctree::
.. toctree::
...
@@ -70,13 +70,13 @@ The guide for LSST developers
...
@@ -70,13 +70,13 @@ The guide for LSST developers
:maxdepth: 2
:maxdepth: 2
:caption: GUIDES FOR DEVELOPERS
:caption: GUIDES FOR DEVELOPERS
vcs.rst
ch02_
vcs.rst
packaging.rst
ch03_
packaging.rst
codestyle.rst
ch04_
codestyle.rst
preference/
preference.rst
ch05_
preference.rst
unittest.rst
ch06_
unittest.rst
simulation.rst
ch07_
simulation.rst
c
sst_common/
csst_common.rst
c
h08_
csst_common.rst
.. toctree::
.. toctree::
...
@@ -84,8 +84,8 @@ The guide for LSST developers
...
@@ -84,8 +84,8 @@ The guide for LSST developers
:maxdepth: 2
:maxdepth: 2
:caption: CODE MANAGEMENT
:caption: CODE MANAGEMENT
build.rst
ch09_
build.rst
integration.rst
ch10_
integration.rst
.. toctree::
.. toctree::
...
...
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