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
Hide 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.
- C6 (2022.7-2022.12)
- integrate L1 pipelines
- 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
- ``multiprocessing``: https://docs.python.org/3/library/multiprocessing.html
- ``joblib``: https://joblib.readthedocs.io/en/latest/
.. literalinclude::
.
/example_multiprocessing.py
.. literalinclude::
preference
/example_multiprocessing.py
:linenos:
:language: python
:caption: an example of using ``multiprocessing`` for parallel computing
...
...
@@ -40,7 +40,7 @@ The output is
Total time cost: 5.095193147659302 sec!
.. literalinclude::
.
/example_joblib.py
.. literalinclude::
preference
/example_joblib.py
:linenos:
:language: python
: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
...
...
@@ -16,14 +16,15 @@ A class that helps developers to access simulation files.
from csst_common.data_manager import CsstMsDataManager
# for full basic initialization
dm_mbi = CsstMsDataManager(
ver_sim="C5.2", # version of simulation, "C5.2" is the latest
dir_l0="", # the L0/input directory
dir_l1="", # the L1/output directory
dir_pcref="", # position calibration reference (will be deprecated)
path_aux="", # aux file paths (master bias, dark, flat)
assert_all_detectors=False, # if True, assert all detectors are available
datatype="mbi", # "mbi" or "sls"
ver_sim="C5.2",
# version of simulation, "C5.2" is the latest
dir_l0="",
# the L0/input directory
dir_l1="",
# the L1/output directory
dir_pcref="",
# position calibration reference (will be deprecated)
path_aux="",
# aux file paths (master bias, dark, flat)
assert_all_detectors=False,
# if True, assert all detectors are available
datatype="mbi",
# "mbi" or "sls"
)
dm_mbi.set_detectors(detectors=None) # use all available detectors
.. code-block:: python
...
...
@@ -32,8 +33,16 @@ A class that helps developers to access simulation files.
ver_sim="C5.2",
datatype="mbi",
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
...
...
@@ -179,7 +188,7 @@ The example code is shown below.
Source code
^^^^^^^^^^^
.. literalinclude:: example_interface.py
.. literalinclude::
csst_common/
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
: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
:maxdepth: 2
:caption: TEAM
team.rst
ch01_
team.rst
.. toctree::
...
...
@@ -70,13 +70,13 @@ The guide for LSST developers
:maxdepth: 2
:caption: GUIDES FOR DEVELOPERS
vcs.rst
packaging.rst
codestyle.rst
preference/
preference.rst
unittest.rst
simulation.rst
c
sst_common/
csst_common.rst
ch02_
vcs.rst
ch03_
packaging.rst
ch04_
codestyle.rst
ch05_
preference.rst
ch06_
unittest.rst
ch07_
simulation.rst
c
h08_
csst_common.rst
.. toctree::
...
...
@@ -84,8 +84,8 @@ The guide for LSST developers
:maxdepth: 2
:caption: CODE MANAGEMENT
build.rst
integration.rst
ch09_
build.rst
ch10_
integration.rst
.. 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