Commit 031d63e1 authored by Médéric Boquien's avatar Médéric Boquien

Dust mass is given in kg, not in solar masses.

parent c6b72a49
Pipeline #2112 skipped with stage
......@@ -119,8 +119,7 @@ class DL2007(SedModule):
sed.add_info('dust.gamma', self.gamma)
# To compute the dust mass we simply divide the luminosity in W by the
# emissivity in W/kg of dust.
sed.add_info('dust.mass', luminosity / self.emissivity, True,
unit='solMass')
sed.add_info('dust.mass', luminosity / self.emissivity, True, unit='kg')
sed.add_contribution('dust.Umin_Umin', self.model_minmin.wave,
luminosity * self.model_minmin.lumin)
......
......@@ -139,8 +139,7 @@ class DL2014(SedModule):
sed.add_info('dust.gamma', self.gamma)
# To compute the dust mass we simply divide the luminosity in W by the
# emissivity in W/kg of dust.
sed.add_info('dust.mass', luminosity / self.emissivity, True,
unit='solMass')
sed.add_info('dust.mass', luminosity / self.emissivity, True, unit='kg')
sed.add_contribution('dust.Umin_Umin', self.model_minmin.wave,
luminosity * self.model_minmin.lumin)
......
......@@ -97,8 +97,7 @@ class Schreiber2016(SedModule):
# emissivity and then by the expected MH/Mdust as the emissivity was
# computed for 1 kg of H. Note that we take 100 here but it should vary
# with the exact model. Fix that later. Maybe directly in the database.
sed.add_info('dust.mass', luminosity / self.emissivity, True,
unit='solMass')
sed.add_info('dust.mass', luminosity / self.emissivity, True, unit='kg')
sed.add_contribution('dust.dust_continuum', self.model_dust.wave,
luminosity * self.model_dust.lumin)
......
......@@ -120,8 +120,7 @@ class THEMIS(SedModule):
sed.add_info('dust.gamma', self.gamma)
# To compute the dust mass we simply divide the luminosity in W by the
# emissivity in W/kg of dust.
sed.add_info('dust.mass', luminosity / self.emissivity, True,
unit='solMass')
sed.add_info('dust.mass', luminosity / self.emissivity, True, unit='kg)'
sed.add_contribution('dust.Umin_Umin', self.model_minmin.wave,
luminosity * self.model_minmin.lumin)
......
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