Commit 8ae3ba4c authored by Médéric Boquien's avatar Médéric Boquien

Set units to W/m² for line pseudo-filters.

parent 928314ae
......@@ -55,7 +55,7 @@ class ModelsManager(object):
table = Table()
table.add_column(Column(self.block, name='id'))
for band in sorted(self.flux.keys()):
if band.startswith('line.'):
if band.startswith('line.') or band.startswith('linefilter.'):
unit = 'W/m^2'
else:
unit = 'mJy'
......
......@@ -397,7 +397,7 @@ class ResultsManager(object):
name="best."+prop))
for band in self.obs.bands:
if band.startswith('line.'):
if band.startswith('line.') or band.startswith('linefilter.''):
unit = 'W/m^2'
else:
unit = 'mJy'
......
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