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_gehong
Commits
b59062f2
Commit
b59062f2
authored
Apr 15, 2024
by
Feng Shuai
💬
Browse files
Update spec1d.py
parent
a1ab9ff6
Pipeline
#4093
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_ifs_gehong/spec1d.py
View file @
b59062f2
...
@@ -8,7 +8,7 @@ from astropy.io import fits
...
@@ -8,7 +8,7 @@ from astropy.io import fits
from
scipy.stats
import
norm
from
scipy.stats
import
norm
from
scipy.interpolate
import
interp1d
from
scipy.interpolate
import
interp1d
data_path
=
os
.
getenv
(
'GEHONG_DATA_PATH'
)
data_path
=
'.'
def
readcol
(
filename
,
**
kwargs
):
def
readcol
(
filename
,
**
kwargs
):
"""
"""
...
@@ -1098,4 +1098,4 @@ class SingleStar():
...
@@ -1098,4 +1098,4 @@ class SingleStar():
# Convert to input wavelength
# Convert to input wavelength
self
.
wave
=
config
.
wave
self
.
wave
=
config
.
wave
self
.
flux
=
flux
self
.
flux
=
flux
\ No newline at end of file
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