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-sims
csst_cpic_sim
Commits
c80f5734
Commit
c80f5734
authored
May 16, 2024
by
GZhao
Browse files
update installation
parent
93aabdae
Pipeline
#4635
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/installation.rst
View file @
c80f5734
...
...
@@ -15,6 +15,7 @@ Python版本
使用以下命令,下载和安装程序文件
.. code-block:: bash
git clone https://csst-tb.bao.ac.cn/code/csst-sims/csst_cpic_sim.git
cd csst_cpic_sim
python setup.py install
...
...
@@ -28,7 +29,9 @@ Python版本
-----------------
程序安装测试
```````````````````
.. code-block:: bash
.. code-block:: bash
python ./script/cpicsim.py --help
如果程序安装正确则会输出帮助信息。如果是首次运行,则会提示输入数据文件路径。
...
...
@@ -36,7 +39,9 @@ Python版本
快速测试
```````````````````
.. code-block:: bash
python ./script/cpicsim.py quickrun '*0/15(0.4,0.6)' 10 50 6
如果运行成功,则可以在当前文件夹下看到生成的fits文件
...
...
@@ -57,5 +62,6 @@ cpicsim.ps1 和 cpicsim 分别是针对Windows 或 Linux/Mac 的脚本。
对于Linux/Mac用户,还需要使用chmod -x cpicsim设置可执行权限
.. code-block:: bash
cpicsim quickrun '*0/15(0.4,0.6)' 10 50 6
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