Commit f1f12b40 authored by Shuai Feng's avatar Shuai Feng
Browse files

update 3.0.1

parent c6bce60d
Pipeline #7711 failed with stage
in 0 seconds
%% Cell type:code id:0a6280f4 tags:
``` python
from csst_ifs_gehong import spec1d as s
from csst_ifs_gehong import config as c
import numpy as np
import matplotlib.pyplot as plt
```
%% Cell type:code id:d21769ee tags:
``` python
config = c.config(wave_min=3000, wave_max=10000, dlam=2, inst_fwhm=0.1, nx=30, ny=30, dpix=0.2)
nlr_temp = s.EmissionLineTemplate(config, model = 'nlr')
agn = s.AGN(config, nlr_temp, bhmass=21671200, edd_ratio=0.3, halpha_broad=12300, halpha_narrow=200000, vdisp_broad=3156, vdisp_narrow=717.1, vel=216701, logz=-1.234, ebv=1.1, dist=1)
plt.figure(figsize=(15,4))
plt.plot(agn.wave, agn.flux, color = 'blue', alpha = 0.5)
plt.show()
```
%% Output
...@@ -12,8 +12,12 @@ https://csst-ifs-gehong.readthedocs.io/ ...@@ -12,8 +12,12 @@ https://csst-ifs-gehong.readthedocs.io/
Shuai Feng (sfeng@hebtu.edu.cn) Shuai Feng (sfeng@hebtu.edu.cn)
# Updates History # Updates History
### 3.0.1
* 修改输出版本号固化
### 3.0.0 ### 3.0.0
* 优化了输入参数的边界判定 * 优化了输入参数的边界判定
* 调整了代码的格式规范 * 调整了代码的格式规范
* 修复了尘埃消光曲线的bug * 修复了尘埃消光曲线的bug
* 修复了模拟数据版本号错误的bug * 修复了模拟数据版本号错误的bug
\ No newline at end of file
__version__ = "3.0.0" __version__ = "3.0.1"
...@@ -14,7 +14,7 @@ with open("requirements.txt", "r") as f: ...@@ -14,7 +14,7 @@ with open("requirements.txt", "r") as f:
setuptools.setup( setuptools.setup(
name='csst_ifs_gehong', name='csst_ifs_gehong',
version='3.0.0', version='3.0.1',
license='MIT', license='MIT',
author="Shuai Feng", author="Shuai Feng",
author_email='sfeng@hebtu.edu.cn', author_email='sfeng@hebtu.edu.cn',
......
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