Commit b5e72f04 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

1. add SIM_VER keyword in image header. 2. Set version 1.0.4

parent 9c362a04
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -311,6 +311,10 @@ def generatePrimaryHeader(xlen = 9216, ylen = 9232, pointNum = '1', ra = 60, dec
    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

+1 −0
Original line number Diff line number Diff line
@@ -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")存在的问题
+2 −2
Original line number Diff line number Diff line
@@ -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.
+2 −2
Original line number Diff line number Diff line
@@ -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 = {