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
346395c5
Commit
346395c5
authored
Oct 28, 2024
by
Yan Zhaojun
Browse files
update
parent
5c4a3a79
Pipeline
#7138
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
csst_ifs_sim/csst_ifs_sim.py
View file @
346395c5
...
@@ -2508,8 +2508,8 @@ class IFSsimulator():
...
@@ -2508,8 +2508,8 @@ class IFSsimulator():
# #############################################################################
# #############################################################################
#
#
def
applyPoissonNoise
(
self
):
def
applyPoissonNoise
(
self
):
"""
"""
...
@@ -3320,8 +3320,8 @@ class IFSsimulator():
...
@@ -3320,8 +3320,8 @@ class IFSsimulator():
# self.log.info(
# self.log.info(
# 'Applied telescope rotation with angle (in degree)= %f.', angle)
# 'Applied telescope rotation with angle (in degree)= %f.', angle)
###############################################################################
###############################################################################
#
#
def
CCDreadout
(
self
):
def
CCDreadout
(
self
):
"""
"""
Returns
Returns
...
@@ -5347,7 +5347,7 @@ class IFSsimulator():
...
@@ -5347,7 +5347,7 @@ class IFSsimulator():
# fits.writeto('subimage.fits',subimage.array,overwrite=True)
# fits.writeto('subimage.fits',subimage.array,overwrite=True)
#
###################
#### get photons from sub-image #####################
#
#### get photons from sub-image #####################
subimage
.
scale
=
self
.
pixelscale
subimage
.
scale
=
self
.
pixelscale
subimage
.
setOrigin
(
0
,
0
)
subimage
.
setOrigin
(
0
,
0
)
...
@@ -5377,8 +5377,8 @@ class IFSsimulator():
...
@@ -5377,8 +5377,8 @@ class IFSsimulator():
# sensor = galsim.Sensor()
# sensor = galsim.Sensor()
# sensor.accumulate(rotphotons, sliceimage)
# sensor.accumulate(rotphotons, sliceimage)
#
###############
######### finish testing
##########################
#############################
#
######### finish testing #############################
##############################################################
#########################################
##############################################################
#####################################
#####################################
# find photons for blue channel, and make the flux multiple the optical and CCD efficiency
# find photons for blue channel, and make the flux multiple the optical and CCD efficiency
...
...
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