Commit 05d6c303 authored by Yannick Roehlly's avatar Yannick Roehlly

Correct dustatt_powerlaw module

parent 52107ff3
......@@ -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 = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment