Skip to content

Commit

Permalink
add back self.layer
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainp committed May 13, 2020
1 parent 5115067 commit 3dd5886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smrt/emmodel/iba_original.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ def compute_ka(self):
"""

# equation from Matzler 1998 (original IBA98 paper) and Matzler and Wiesmann 1999
return self.k0 * self.frac_volume * self.eps.imag * abs(self.mean_sq_field_ratio(self.e0, self.eps))
return self.k0 * self.layer.frac_volume * self.eps.imag * abs(self.mean_sq_field_ratio(self.e0, self.eps))

0 comments on commit 3dd5886

Please sign in to comment.