Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cigale
CIGALE
Commits
05d6c303
Commit
05d6c303
authored
Jun 29, 2013
by
Yannick Roehlly
Browse files
Correct dustatt_powerlaw module
parent
52107ff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/sed/modules/dustatt_powerlaw.py
View file @
05d6c303
...
...
@@ -173,7 +173,7 @@ class Module(common.SEDCreationModule):
self
.
filters
[
filter_name
]
=
base
.
get_filter
(
filter_name
)
base
.
close
()
def
_
process
(
self
,
sed
):
def
process
(
self
,
sed
):
"""Add the CCM dust attenuation to the SED.
Parameters
...
...
@@ -194,7 +194,7 @@ class Module(common.SEDCreationModule):
uv_bump_width
=
float
(
self
.
parameters
[
"uv_bump_wavelength"
])
uv_bump_amplitude
=
float
(
self
.
parameters
[
"uv_bump_amplitude"
])
powerlaw_slope
=
float
(
self
.
parameters
[
"powerlaw_slope"
])
filters
=
self
.
parameters
[
"
filters
"
]
filters
=
self
.
filters
# Fλ fluxes in each filter before attenuation.
flux_noatt
=
{}
...
...
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