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
390c9766
Commit
390c9766
authored
3 years ago
by
Fang Yuedong
Browse files
Options
Download
Email Patches
Plain Diff
change logic for cuts on bright objects
parent
f08672a8
release_v3.0
11-csst
29-darktime-exptime-shtopen-shtstat-t
current_stable_for_tests
develop
master
milky_way_extinction
new_sim
release_v1.0
release_v2.0
revert-914004c1
sim_scheduler
sls_psf_pca_convolve
wcs_test_gridGalaxy
v3.3.0
v3.2.1
v3.2.0
v3.1.0
v3.0.0
v2.1.0
v2.0.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ObservationSim/ObservationSim.py
+2
-1
ObservationSim/ObservationSim.py
with
2 additions
and
1 deletion
+2
-1
ObservationSim/ObservationSim.py
+
2
-
1
View file @
390c9766
...
...
@@ -195,7 +195,8 @@ class Observation(object):
continue
# Exclude very bright/dim objects (for now)
if
filt
.
is_too_bright
(
mag
=
obj
.
getMagFilter
(
filt
)):
# if filt.is_too_bright(mag=obj.getMagFilter(filt)):
if
obj
.
getMagFilter
(
filt
)
<=
14.0
:
# print("obj too birght!!", flush=True)
if
obj
.
type
!=
'galaxy'
:
bright_obj
+=
1
...
...
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