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
390c9766
Commit
390c9766
authored
Apr 21, 2022
by
Fang Yuedong
Browse files
change logic for cuts on bright objects
parent
f08672a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ObservationSim/ObservationSim.py
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
...
...
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