Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
astro
astrotools
Commits
ccf06e83
Commit
ccf06e83
authored
Dec 11, 2019
by
teresa.bister
Committed by
Teresa Bister
Dec 12, 2019
Browse files
[simulations] useless lint fix
parent
769ce915
Changes
1
Hide whitespace changes
Inline
Side-by-side
astrotools/simulations.py
View file @
ccf06e83
...
...
@@ -806,7 +806,6 @@ class SourceBound(BaseSimulation):
charges
=
self
.
crs
[
'charge'
][
idx
,
:]
cmap
=
plt
.
get_cmap
(
'jet_r'
,
np
.
amax
(
charges
))
ns
=
np
.
array
([
np
.
sum
(
self
.
crs
[
'source_labels'
][
idx
]
==
k
)
for
k
in
range
(
self
.
universe
.
n_src
)])
n_more_3
=
ns
>=
3
src_idx
=
np
.
squeeze
(
np
.
argwhere
(
n_more_3
))[
np
.
argsort
(
ns
[
n_more_3
])]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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