From 4a4b551184078ef832d3089ff753f3cca82fe7fa Mon Sep 17 00:00:00 2001 From: Joshua Karns Date: Fri, 24 Aug 2018 14:28:43 -0400 Subject: [PATCH] Changed graph units / titles for cross sections. --- src/widgets/graphing/graphing_widget.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/widgets/graphing/graphing_widget.py b/src/widgets/graphing/graphing_widget.py index 4fa6629..cd342d3 100644 --- a/src/widgets/graphing/graphing_widget.py +++ b/src/widgets/graphing/graphing_widget.py @@ -188,7 +188,11 @@ def graph(self): def graph_abs_coef(self, standard_parameters): work = HapiWorker.echo(title=GraphingWidget.ABSORPTION_COEFFICIENT_STRING, titlex="Wavenumber (cm-1)", - titley='Absorption Coefficient cm-1', **standard_parameters) + titley='Absorption Coefficient ', **standard_parameters) + + if work['SourceTables'][0].endswith('.xsc'): + work['titley'] = 'molecules / cm2' + work['title'] = 'Absorption Cross-Section' if self.use_existing_window.isChecked(): selected_window = self.selected_window.currentText()