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

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

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