Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pydsm/iso226.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ def tabled_B_f(L_p, hfe=False):
reference pressure level P0 (close to the hearing threshold at 1 kHz and
set to 20 uPa RMS).
"""
B_f = ((0.4*10**(L_p+tbl_L_U)/10.-9.)**tbl_alpha_f -
(0.4*10**(tbl_T_f+tbl_L_U)/10.-9.)**tbl_alpha_f +
B_f = ((0.4*10**((L_p+tbl_L_U)/10.-9.))**tbl_alpha_f -
(0.4*10**((tbl_T_f+tbl_L_U)/10.-9.))**tbl_alpha_f +
0.005135)
return np.append(B_f, B_f[0]) if hfe else B_f

Expand Down