| 3137 | } |
| 3138 | |
| 3139 | void parameter_set4scale(const int len, const double d_s, double &Lnorm, |
| 3140 | double &d0, double &d0_search) |
| 3141 | { |
| 3142 | d0=d_s; |
| 3143 | Lnorm=len; //normalize TMscore by this in searching |
| 3144 | d0_search=d0; |
| 3145 | if (d0_search>8) d0_search=8; |
| 3146 | if (d0_search<4.5) d0_search=4.5; |
| 3147 | } |
| 3148 | |
| 3149 | /************************************************************************** |
| 3150 | Implemetation of Kabsch algoritm for finding the best rotation matrix |