MCPcopy Create free account
hub / github.com/DunbrackLab/IPSAE / ptm_func

Function ptm_func

ipsae.py:111–112  ·  view source on GitHub ↗
(x,d0)

Source from the content-addressed store, hash-verified

109
110# Define the ptm and d0 functions
111def ptm_func(x,d0):
112 return 1.0/(1+(x/d0)**2.0)
113ptm_func_vec=np.vectorize(ptm_func) # vector version
114
115# Define the d0 functions for numbers and arrays; minimum value = 1.0; from Yang and Skolnick, PROTEINS: Structure, Function, and Bioinformatics 57:702–710 (2004)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected