Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
cigale
CIGALE
Commits
d7d0f265
Commit
d7d0f265
authored
Nov 19, 2015
by
BURGARELLA Denis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.lam.fr:cigale/cigale into develop
parents
c8715aca
9e9890a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
pcigale_plots/__init__.py
pcigale_plots/__init__.py
+20
-8
No files found.
pcigale_plots/__init__.py
View file @
d7d0f265
...
...
@@ -164,14 +164,26 @@ def _sed_worker(obs, mod, filters, sed_type, nologo):
ax2
=
plt
.
subplot
(
gs
[
1
])
# Stellar emission
ax1
.
loglog
(
wavelength_spec
[
wsed
],
(
sed
[
'stellar.young'
][
wsed
]
+
sed
[
'attenuation.stellar.young'
][
wsed
]
+
sed
[
'stellar.old'
][
wsed
]
+
sed
[
'attenuation.stellar.old'
][
wsed
]),
label
=
"Stellar attenuated "
,
color
=
'orange'
,
marker
=
None
,
nonposy
=
'clip'
,
linestyle
=
'-'
,
linewidth
=
0.5
)
if
'nebular.absorption_young'
in
sed
.
columns
:
ax1
.
loglog
(
wavelength_spec
[
wsed
],
(
sed
[
'stellar.young'
][
wsed
]
+
sed
[
'attenuation.stellar.young'
][
wsed
]
+
sed
[
'nebular.absorption_young'
][
wsed
]
+
sed
[
'stellar.old'
][
wsed
]
+
sed
[
'attenuation.stellar.old'
][
wsed
]
+
sed
[
'nebular.absorption_old'
][
wsed
]),
label
=
"Stellar attenuated "
,
color
=
'orange'
,
marker
=
None
,
nonposy
=
'clip'
,
linestyle
=
'-'
,
linewidth
=
0.5
)
else
:
ax1
.
loglog
(
wavelength_spec
[
wsed
],
(
sed
[
'stellar.young'
][
wsed
]
+
sed
[
'attenuation.stellar.young'
][
wsed
]
+
sed
[
'stellar.old'
][
wsed
]
+
sed
[
'attenuation.stellar.old'
][
wsed
]),
label
=
"Stellar attenuated "
,
color
=
'orange'
,
marker
=
None
,
nonposy
=
'clip'
,
linestyle
=
'-'
,
linewidth
=
0.5
)
ax1
.
loglog
(
wavelength_spec
[
wsed
],
(
sed
[
'stellar.old'
][
wsed
]
+
sed
[
'stellar.young'
][
wsed
]),
...
...
Write
Preview
Markdown
is supported
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