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
f394664f
Commit
f394664f
authored
Jul 05, 2023
by
Fang Yuedong
Browse files
Merge branch 'develop' into wcs_test
parents
5cf3f5bb
6c997e81
Changes
1
Hide whitespace changes
Inline
Side-by-side
ObservationSim/Straylight/Straylight.py
View file @
f394664f
...
...
@@ -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