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
60779990
Commit
60779990
authored
May 08, 2024
by
Yan Zhaojun
Browse files
debug
parent
10a21ec9
Pipeline
#4399
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
60779990
...
@@ -1749,6 +1749,7 @@ class MCIsimulator():
...
@@ -1749,6 +1749,7 @@ class MCIsimulator():
del
PSF_g
del
PSF_g
del
PSF_r
del
PSF_r
del
PSF_i
del
PSF_i
self
.
log
.
info
(
'finish save star PSF data......'
)
########## finish save PSF fits ##########################################
########## finish save PSF fits ##########################################
############################################################################
############################################################################
...
@@ -1906,8 +1907,8 @@ class MCIsimulator():
...
@@ -1906,8 +1907,8 @@ class MCIsimulator():
if
j
==
0
:
if
j
==
0
:
self
.
log
.
info
(
'begin iteration........'
)
self
.
log
.
info
(
'begin iteration........'
)
if
self
.
debug
:
#
if self.debug:
self
.
log
.
info
(
'j = %i'
%
(
j
))
self
.
log
.
info
(
'j = %i'
%
(
j
))
starRa
=
3600.0
*
(
newRa
[
j
]
)
# ra of star, arcsecond
starRa
=
3600.0
*
(
newRa
[
j
]
)
# ra of star, arcsecond
starDec
=
3600.0
*
(
newDec
[
j
]
)
# dec of star, arcsecond
starDec
=
3600.0
*
(
newDec
[
j
]
)
# dec of star, arcsecond
...
@@ -2017,7 +2018,7 @@ class MCIsimulator():
...
@@ -2017,7 +2018,7 @@ class MCIsimulator():
self
.
log
.
info
(
'Star number on CCD is = %i'
%
(
nlayccd
))
self
.
log
.
info
(
'Star number on CCD is = %i'
%
(
nlayccd
))
if
nlayccd
%
10
0
==
0
:
if
nlayccd
%
10
==
0
:
self
.
log
.
info
(
'Star number on CCD is = %i'
%
(
nlayccd
))
self
.
log
.
info
(
'Star number on CCD is = %i'
%
(
nlayccd
))
...
...
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