FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 037ba924 authored by M.D. Driver's avatar M.D. Driver
Browse files

change to use new mmethod which can deal with dictionary.

parent 3efb8130
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ First term in expression. Derivation:
import logging
import numpy as np
import numpy.polynomial.polynomial as poly
import solventmapcreator.polynomialanalysis.polynomialvaluecalculator as polyvalcalc
logging.basicConfig()
LOGGER = logging.getLogger(__name__)
......@@ -85,7 +85,7 @@ def calculate_solvation_energy(epsilon, polynomial_coefficients):
"""This calcultes the solvation energy for the given SSIP value, using the
polynomial coefficients given.
"""
return poly.polyval(epsilon, polynomial_coefficients)
return polyvalcalc.calculate_polynomial_values(epsilon, polynomial_coefficients)
def calculate_association_constant(epsilon_i, epsilon_j, temperature):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment