Skip to content

Commit

Permalink
Fix funnel range used in correction calculation. [closes #246]
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Feb 22, 2024
1 parent d94c19b commit c8eba8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def getCorrection(
volume = _Volume(_math.pi * result, "nanometers cubed")

# Estimate the average area of the restraint (in Angstrom squared).
area = (volume / proj_max).angstroms2()
area = (volume / (proj_max - proj_min)).angstroms2()

# Compute the correction. (1/1660 A-3 is the standard concentration.)
correction = _Energy(_math.log((area / 1660).value()), "kt")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def getCorrection(
volume = _Volume(_math.pi * result, "nanometers cubed")

# Estimate the average area of the restraint (in Angstrom squared).
area = (volume / proj_max).angstroms2()
area = (volume / (proj_max - proj_min)).angstroms2()

# Compute the correction. (1/1660 A-3 is the standard concentration.)
correction = _Energy(_math.log((area / 1660).value()), "kt")
Expand Down

0 comments on commit c8eba8d

Please sign in to comment.