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
Liu Dezi
csst_msc_sim
Commits
b5e72f04
Commit
b5e72f04
authored
Aug 23, 2022
by
Fang Yuedong
Browse files
1. add SIM_VER keyword in image header. 2. Set version 1.0.4
parent
9c362a04
Changes
4
Hide whitespace changes
Inline
Side-by-side
ObservationSim/Config/Header/ImageHeader.py
View file @
b5e72f04
...
...
@@ -310,6 +310,10 @@ def generatePrimaryHeader(xlen = 9216, ylen = 9232, pointNum = '1', ra = 60, dec
h_prim
[
'VELO0_Z'
]
=
sat_vel
[
2
]
h_prim
[
'RA_PNT0'
]
=
ra_hms
h_prim
[
'DEC_PNT0'
]
=
dec_hms
# Get version of CSSTSim Package
from
pkg_resources
import
get_distribution
h_prim
[
'SIM_VER'
]
=
(
get_distribution
(
"CSSTSim"
).
version
,
"Version of CSST MSC simulation software"
)
return
h_prim
...
...
README.md
View file @
b5e72f04
...
...
@@ -2,6 +2,7 @@
## 重要更新或问题修复:
*
2022.08.23: 更新至最新的透过率曲线,在图像头文件中加入版本号。仿真软件版本号进行重新标记,当前版本为1.0.4
*
2022.06.20: 新版本v0.5上线,请于relase_v0.5 branch中进行clone操作
*
2022.04.13: 修复了天测模块中的调用错误
*
2022.04.08: 修复了仅输出星表选项("out_cat_only")存在的问题
...
...
config/config_NGP_dev.yaml
View file @
b5e72f04
...
...
@@ -12,7 +12,7 @@
# work_dir: "/public/home/fangyuedong/sim_code_release/CSST/test/"
work_dir
:
"
/share/home/fangyuedong/csst-simulation/workplace/"
data_dir
:
"
/share/simudata/CSSOSDataProductsSims/data/"
run_name
:
"
zeropoint
_TEST"
run_name
:
"
header
_TEST"
# (Optional) a file of point list
# if you just want to run default pointing:
...
...
@@ -48,7 +48,7 @@ obs_setting:
# "Photometric": simulate photometric chips only
# "Spectroscopic": simulate slitless spectroscopic chips only
# "All": simulate full focal plane
survey_type
:
"
All
"
survey_type
:
"
Photometric
"
# Exposure time [seconds]
exp_time
:
150.
...
...
setup.py
View file @
b5e72f04
...
...
@@ -26,7 +26,7 @@ extensions = [
setup
(
name
=
'CSSTSim'
,
version
=
'
0.5.3
'
,
version
=
'
1.0.4
'
,
packages
=
find_packages
(),
install_requires
=
[
'numpy>=1.18.5'
,
...
...
@@ -38,7 +38,7 @@ setup(name='CSSTSim',
'sep>=1.0.3'
,
'healpy>=1.14.0'
,
'h5py>=2.10.0'
,
'Cython>=0.29.21'
'Cython>=0.29.21'
,
'numba>=0.50.1'
],
package_data
=
{
...
...
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