X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sources%2Fmulticoil%2Fstats.h;fp=sources%2Fmulticoil%2Fstats.h;h=48bb1f31d341088d0e7f5fde6525fa12eec14b78;hb=9aa768067094f24f46f273077f867348e6143711;hp=0000000000000000000000000000000000000000;hpb=eb3001dc41bf6cd46e20fd13fe3efbe9dedf6013;p=jpred.git diff --git a/sources/multicoil/stats.h b/sources/multicoil/stats.h new file mode 100644 index 0000000..48bb1f3 --- /dev/null +++ b/sources/multicoil/stats.h @@ -0,0 +1,19 @@ +/*** Statistical computation stuff. **/ + +double erfcc(double x); +double erf(double x); +int calcweight(long pfreqs[AANUM][POSNUM], + long pfreqp[AANUM][AANUM][POSNUM][POSNUM], + double gprobs[NUM_RES_TYPE], + double gprobp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM], + double weights[AANUM][POSNUM], + double weightp[AANUM][AANUM][POSNUM][POSNUM], + long totals[POSNUM], + long totalp[POSNUM][POSNUM], + FILE *weight_file); + + +void combine_many_weight(int current_table); +void calc_distance_weights(double dist_weight[POSNUM]); +double sigma(double x, int power, double middle); +