Skip to content

Commit

Permalink
added time n minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
punassuming committed Sep 12, 2011
1 parent 0dc30e0 commit 6d6866a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions rex/type/labview.py
Expand Up @@ -95,6 +95,7 @@ def __init__(self,

if hasattr(self, '_curves'):
self._curves.add('time:hr', self._curves['time:sec']/3600., 'Time [hr]')
self._curves.add('time:min', self._curves['time:sec']/60., 'Time [min]')

"""
lower case is adsorption
Expand Down Expand Up @@ -142,6 +143,8 @@ def __init__(self,

self.cal_curves()

print self._params['notes']

self.get_flux()
if type(self._params.get('loading')) is float:
self.get_coverage()
Expand Down Expand Up @@ -188,9 +191,9 @@ def cal_curves(self):

n2_conc = 1 - co2_conc - h2o_conc

self._curves.add('conc:co2', co2_conc, 'Concentration [%]')
self._curves.add('conc:h2o', h2o_conc, 'Concentration [%]')
self._curves.add('conc:n2', n2_conc, 'Concentration [%]')
self._curves.add('conc:co2', co2_conc, 'Concentration [mol %]')
self._curves.add('conc:h2o', h2o_conc, 'Concentration [mol %]')
self._curves.add('conc:n2', n2_conc, 'Concentration [mol %]')


def get_stage(self):
Expand Down

0 comments on commit 6d6866a

Please sign in to comment.