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
ba121152
Commit
ba121152
authored
5 months ago
by
Wei Chengliang
Browse files
Options
Download
Email Patches
Plain Diff
update codestyle-PEP8
parent
1742c3e2
master
develop
No related merge requests found
Pipeline
#7105
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
observation_sim/instruments/chip/effects.py
+2
-2
observation_sim/instruments/chip/effects.py
with
2 additions
and
2 deletions
+2
-2
observation_sim/instruments/chip/effects.py
+
2
-
2
View file @
ba121152
...
...
@@ -697,7 +697,7 @@ def produceCR_Map(xLen, yLen, exTime, cr_pixelRatio, gain, attachedSizes, seed=2
for
i
in
np
.
arange
(
cr_event_size
):
xPos
=
round
((
xLen
-
1
)
*
np
.
random
.
random
())
yPos
=
round
((
yLen
-
1
)
*
np
.
random
.
random
())
cr_lens
=
int
(
cr_size
[
i
])
;
cr_lens
=
int
(
cr_size
[
i
])
if
cr_lens
==
0
:
continue
pix_energy
=
cr_energys
[
i
]
/
gain
/
cr_lens
...
...
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