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
csst-sims
csst_ifs_sim
Commits
30c72bb9
Commit
30c72bb9
authored
May 15, 2024
by
Yan Zhaojun
Browse files
test
parent
706182a1
Pipeline
#4598
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
csst_ifs_sim/csst_ifs_sim.py
View file @
30c72bb9
...
...
@@ -27,7 +27,9 @@ from scipy.interpolate import interp1d
import
astropy.coordinates
as
coord
import
ctypes
import
sys
sys
.
path
.
append
(
'./csst_ifs_sim'
)
from
.ifs_so
import
cdm03bidir
##sys.path.append('./csst_ifs_sim')
conf
.
auto_max_age
=
None
"""
...
...
@@ -234,7 +236,7 @@ class CDM03bidir():
#################################################################################
###modify
#sys.path.append('../so')
from
ifs_so
import
cdm03bidir
# from ifs_so.cdm03.cpython-38-x86_64-linux-gnu import cdm03bidir
# import cdm03bidir
CTIed
=
cdm03bidir
.
cdm03
(
np
.
asfortranarray
(
data
),
...
...
requirements.txt
View file @
30c72bb9
numpy
=
=1.23.3
scipy
=
=1.9.2
setuptools
=
=65.5.1
pandas
=
=1.2.3
julian
=
=0.14
astropy
=
=5.1
tqdm
=
=4.59.0
galsim
=
=2.4.9
numpy
~
=1.23.3
scipy
~
=1.9.2
setuptools
~
=65.5.1
pandas
~
=1.2.3
julian
~
=0.14
astropy
~
=5.1
tqdm
~
=4.59.0
galsim
~
=2.4.9
setup.py
View file @
30c72bb9
...
...
@@ -41,10 +41,10 @@ setuptools.setup(
include_package_data
=
True
,
# 设置包含随包数据
package_data
=
{
""
:
[
"LICENSE"
,
"README.md"
],
"csst_ifs_sim"
:
[
"ifs_so/*"
,
"ifs_data/*"
,
"CTI/*"
,
"support/*"
,
"ifs_data/refs/*"
,
"ifs_data/refs/orbit20160925/*"
]},
"csst_ifs_sim"
:
[
"ifs_so/*"
,
"ifs_data/*"
]},
# 请注意检查,防止临时文件或其他不必要的文件被提交到仓库,否则会一同安装
python_requires
=
">=3.
11
"
,
# Python版本要求
python_requires
=
">=3.
8
"
,
# Python版本要求
install_requires
=
requirements
,
)
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