(x,d0)
| 109 | |
| 110 | # Define the ptm and d0 functions |
| 111 | def ptm_func(x,d0): |
| 112 | return 1.0/(1+(x/d0)**2.0) |
| 113 | ptm_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) |
nothing calls this directly
no outgoing calls
no test coverage detected