Commit 7ed0a220 authored by Yi Hu's avatar Yi Hu
Browse files

修改: README.md

parent 92feb3a0
......@@ -19,8 +19,15 @@ Install these package under Ubuntu 20.04 LTS:
sudo apt install python3-numpy python3-scipy python3-matplotlib python3-astropy python3-ccdproc
python3 -m pip install pytorch deepCR
# Use guide
# Usage
Download crmask.py and crmask.ini, put them in the same directory.
Running it:
./crmask.py your_file.fits your_model
where **your_file.fits** is the filename of the image which you want to do cosmic ray detection, and **your_model** is the algorithm you select. Available algorithms are _deepCR_ and _lacosmic_.
<!--
下载crmask.py,crmask.ini这两个文件。
./crmask.py your_file.fits your_model
......@@ -28,7 +35,7 @@ Install these package under Ubuntu 20.04 LTS:
其中your_file.fits是输入fits文件,your_model是扣除宇宙线的方法,可以是deepCR或者lacosmic。
如果需要使用CSST仿真数据训练得到的模型扣除宇宙线,下载CSST_2021-12-30_CCD23_epoch20.pth,该模型隐藏层数为50。
-->
# 注意
如果使用deepCR自带用HST/ACS数据训练得到的模型,在配置文件中,要将hidden这个配置参数改为32。
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment