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_msc_sim
Commits
6c997e81
Commit
6c997e81
authored
Jul 05, 2023
by
Zhang Xin
Browse files
sky value fix bug
parent
a8b75053
Changes
1
Hide whitespace changes
Inline
Side-by-side
ObservationSim/Straylight/Straylight.py
View file @
6c997e81
...
...
@@ -548,8 +548,8 @@ class Straylight(object):
def
calculateStrayLightFilter
(
self
,
filter
=
'i'
,
pixel_size_phy
=
10
,
pixel_scale
=
0.074
):
e1
,
py
=
self
.
calculateEarthShineFilter
(
filter
=
filter
,
pixel_size_phy
=
pixel_size_phy
)
e2
,
_
=
self
.
calculateZodiacalFilter2
(
filter
=
'i'
,
sun_pos
=
self
.
sun_pos
,
pixelsize
=
pixel_scale
)
e3
=
self
.
calculateStarLightFilter
(
filter
=
'i'
,
pointYaxis
=
py
,
pixel_size_phy
=
pixel_size_phy
)
e2
,
_
=
self
.
calculateZodiacalFilter2
(
filter
=
filter
,
sun_pos
=
self
.
sun_pos
,
pixelsize
=
pixel_scale
)
e3
=
self
.
calculateStarLightFilter
(
filter
=
filter
,
pointYaxis
=
py
,
pixel_size_phy
=
pixel_size_phy
)
return
e1
+
e2
+
e3
...
...
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