Commit 683f8737 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

add test data path to the README

parent cfb48241
......@@ -57,7 +57,7 @@ class Chip(FocalPlane):
for key in chip_dict:
setattr(self, key, chip_dict[key])
if self.filter_type == "FGS":
if config["ins_effects"]["field_dist"] == False:
if ("field_dist" in config) and (config["ins_effects"]["field_dist"]) == False:
self.fdModel = None
else:
fgs_name = self.chip_name[0:4]
......@@ -71,7 +71,7 @@ class Chip(FocalPlane):
self.fdModel = pickle.load(f)
else:
# Get the corresponding field distortion model
if config["ins_effects"]["field_dist"] == False:
if ("field_dist" in config) and (config["ins_effects"]["field_dist"] == False):
self.fdModel = None
else:
try:
......
......@@ -27,9 +27,11 @@
## 相关数据
* PSF采样数据下载:[百度云盘](https://pan.baidu.com/s/1_2gbO6-d7x001_FMqZ1tfw)码:2awt
* PSF采样数据下载:[百度云盘](https://pan.baidu.com/s/1_2gbO6-d7x001_FMqZ1tfw)提取码:2awt
* 滤光片及无缝光谱相关数据:[百度云盘](https://pan.baidu.com/s/1JROggg8IKf27i1DnwTaPAw),密码:07v5
* 测试用数据,C6星系SED PCA主成分,及恒星SED模板库下载:[百度云盘](https://pan.baidu.com/s/15B5H-r39vbIBIXdpin63Wg),提取码:nxsy
* 滤光片及无缝光谱相关数据:[百度云盘](https://pan.baidu.com/s/1JROggg8IKf27i1DnwTaPAw),提取码:07v5
## 相关会议及workshop
......
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