Skip to content

Commit

Permalink
Finished plasma property tests for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aoife Boyle authored and wkerzendorf committed Jun 26, 2015
1 parent 26d2e0d commit 30d1cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/plasma/properties/radiative_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ def __init__(self, plasma_parent):

def get_g_lower(self, levels, lines_lower_level_index):
if self._g_lower is None:
g_lower = np.array(levels.g.iloc[lines_lower_level_index],
g_lower = np.array(levels.g.ix[lines_lower_level_index],
dtype=np.float64)
self._g_lower = g_lower[np.newaxis].T
return self._g_lower


def get_g_upper(self, levels, lines_upper_level_index):
if self._g_upper is None:
g_upper = np.array(levels.g.iloc[lines_upper_level_index],
g_upper = np.array(levels.g.ix[lines_upper_level_index],
dtype=np.float64)
self._g_upper = g_upper[np.newaxis].T
return self._g_upper
Expand Down

0 comments on commit 30d1cb9

Please sign in to comment.