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_mci_sim
Commits
ea65766a
Commit
ea65766a
authored
Apr 16, 2024
by
Yan Zhaojun
Browse files
debug
parent
fec0b949
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
ea65766a
...
@@ -1907,7 +1907,7 @@ class MCIsimulator():
...
@@ -1907,7 +1907,7 @@ class MCIsimulator():
# sample as
ifs
wavelength
# sample as
mci
wavelength
wave_mci
=
np
.
linspace
(
2500
,
11000
,
8501
)
#np.arange(2500, 11000, 1)
wave_mci
=
np
.
linspace
(
2500
,
11000
,
8501
)
#np.arange(2500, 11000, 1)
f1
=
interp1d
(
wave0
,
zodi0
)
f1
=
interp1d
(
wave0
,
zodi0
)
zodi_mci
=
f1
(
wave_mci
)
zodi_mci
=
f1
(
wave_mci
)
...
@@ -1998,8 +1998,8 @@ class MCIsimulator():
...
@@ -1998,8 +1998,8 @@ class MCIsimulator():
for
j
in
tqdm
(
range
(
Nstar
)):
### nsrcs length
for
j
in
tqdm
(
range
(
Nstar
)):
### nsrcs length
if
j
==
0
:
self
.
log
.
info
(
'begin iteration........'
)
self
.
log
.
info
(
'begin iteration........'
)
if
j
<
nsrcs
-
8
:
if
j
<
nsrcs
-
8
:
starRa
=
3600.0
*
(
newRa
[
j
]
)
# ra of star, arcsecond
starRa
=
3600.0
*
(
newRa
[
j
]
)
# ra of star, arcsecond
...
...
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