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_mci_sim
Commits
3ed4b012
Commit
3ed4b012
authored
3 months ago
by
Yan Zhaojun
Browse files
Options
Download
Email Patches
Plain Diff
update
parent
a046815c
develop
master
No related merge requests found
Pipeline
#7886
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_mci_sim/csst_mci_sim.py
+6
-6
csst_mci_sim/csst_mci_sim.py
with
6 additions
and
6 deletions
+6
-6
csst_mci_sim/csst_mci_sim.py
+
6
-
6
View file @
3ed4b012
...
@@ -1822,11 +1822,11 @@ class MCIsimulator():
...
@@ -1822,11 +1822,11 @@ class MCIsimulator():
# ###### use SED_code to generate star SED #######
# ###### use SED_code to generate star SED #######
if
get_file_extension
(
starcat
)
==
'.fits'
:
if
get_file_extension
(
starcat
)
==
'.fits'
:
umag
=
self
.
star
[
'gmag'
][
j
]
;
umag
=
self
.
star
[
'gmag'
][
j
]
gmag
=
self
.
star
[
'gmag'
][
j
]
;
gmag
=
self
.
star
[
'gmag'
][
j
]
rmag
=
self
.
star
[
'rmag'
][
j
]
;
rmag
=
self
.
star
[
'rmag'
][
j
]
imag
=
self
.
star
[
'imag'
][
j
]
;
imag
=
self
.
star
[
'imag'
][
j
]
zmag
=
self
.
star
[
'zmag'
][
j
]
;
zmag
=
self
.
star
[
'zmag'
][
j
]
# SED of j-th star
# SED of j-th star
else
:
else
:
...
@@ -3370,7 +3370,7 @@ class MCIsimulator():
...
@@ -3370,7 +3370,7 @@ class MCIsimulator():
else
:
else
:
if
direction
==
'horizon'
:
if
direction
==
'horizon'
:
self
.
information
[
'bleding_direction'
]
=
'Not_horizon'
self
.
information
[
'bleding_direction'
]
=
'Not_horizon'
# loop over each column, as bleeding is modelled column-wise
# loop over each column, as bleeding is modelled column-wise
# for i, column in enumerate(data): # select one solumnn
# for i, column in enumerate(data): # select one solumnn
# if column.max() <= self.information['fullwellcapacity']:
# if column.max() <= self.information['fullwellcapacity']:
...
...
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