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_common
Commits
3b952c86
Commit
3b952c86
authored
Dec 20, 2023
by
BO ZHANG
🏀
Browse files
update README.md
parent
5ab70377
Pipeline
#2623
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3b952c86
...
@@ -13,34 +13,24 @@ This code is available at *CSST GitLab*:
...
@@ -13,34 +13,24 @@ This code is available at *CSST GitLab*:
A sphinx-based documentation is available at
A sphinx-based documentation is available at
-
[
https://csst-proto.readthedocs.io/en/latest/
](
https://csst-proto.readthedocs.io/en/latest/
)
-
[
https://csst-proto.readthedocs.io/en/latest/
](
https://csst-proto.readthedocs.io/en/latest/
)
## dependency
-
numpy~=1.20.3
-
joblib~=1.1.0
-
astropy~=5.1
## installation
## installation
`csst_common`
can be installed with the following shell command
```
bash
```
bash
git clone https://csst-tb.bao.ac.cn/code/csst-l1/csst_common.git
pip
install
git+https://csst-tb.bao.ac.cn/code/csst-l1/csst_common.git
cd
csst_common
pip
install
-r
requirements.txt
python setup.py
install
```
```
or a single-line command
## dependency
-
numpy
-
astropy
-
pyyaml
-
setuptools>65.0.0
install CCDS:
```
bash
pip install git+https://csst-tb.bao.ac.cn/code/csst-dfs/ccds.git
sh
-c
"
$(
curl
-fsSL
https://csst-tb.bao.ac.cn/code/csst-l1/csst_common/-/raw/main/install.sh
)
"
```
## instruction
install DFS:
sh -c "$(curl -fsSL https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-api/-/raw/master/tools/csst-dfs-api-install.sh)"
how to import CSST parameters:
```
python
from
csst_common.params
import
CSST_PARAMS
as
CP
print
(
CP
)
print
(
CP
[
"mbi"
][
"detector2filter"
])
```
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