Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1 year ago
by
Zhang Xin
Browse files
Options
Download
Email Patches
Plain Diff
sky value fix bug
parent
a8b75053
release_v3.0
11-csst
29-darktime-exptime-shtopen-shtstat-t
current_stable_for_tests
develop
master
milky_way_extinction
new_sim
release_v2.0
revert-914004c1
sim_scheduler
sls_psf_pca_convolve
wcs_test_gridGalaxy
v3.1.0
v3.0.0
v2.1.0
2 merge requests
!17
release version 2.1.0
,
!16
version 2.1.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ObservationSim/Straylight/Straylight.py
+2
-2
ObservationSim/Straylight/Straylight.py
with
2 additions
and
2 deletions
+2
-2
ObservationSim/Straylight/Straylight.py
+
2
-
2
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
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets