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
b69ef51d
Commit
b69ef51d
authored
Apr 14, 2024
by
Yan Zhaojun
Browse files
test
parent
37a0193f
Pipeline
#4061
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
b69ef51d
...
@@ -2177,11 +2177,11 @@ class MCIsimulator():
...
@@ -2177,11 +2177,11 @@ class MCIsimulator():
ugriz
=
np
.
array
([
umag
,
gmag
,
rmag
,
imag
,
zmag
])
ugriz
=
np
.
array
([
umag
,
gmag
,
rmag
,
imag
,
zmag
])
star_flux
=
sed
.
Model_Galaxy_SED
(
wave
,
ugriz
,
redshift
,
t
,
self
.
information
[
'dir_path'
])
star_flux
=
sed
.
Model_Galaxy_SED
(
wave
,
ugriz
,
redshift
,
t
,
self
.
information
[
'dir_path'
])
#########################################
#########################################
self
.
log
.
info
(
'load star catlog 99999999'
)
##cal_SED_photons(self, flux_arr):
##cal_SED_photons(self, flux_arr):
intscales
,
PSF_eff_weight
=
self
.
cal_SED_photons
(
star_flux
)
intscales
,
PSF_eff_weight
=
self
.
cal_SED_photons
(
star_flux
)
self
.
information
[
'dir_path 999999
99999999'
]
self
.
log
.
info
(
'load star catlog
99999999'
)
gx
=
dict
()
gx
=
dict
()
gy
=
dict
()
gy
=
dict
()
...
...
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