Doxygen Source Code Documentation
nifti_statlib.c File Reference
#include "nifti_stats.c"Go to the source code of this file.
| Defines | |
| #define | OMIT_MAIN | 
| Functions | |
| float | NIFTI_stat_to_pval (float thr, int statcode, float *stataux) | 
| float | NIFTI_pval_to_stat (float pval, int statcode, float *stataux) | 
| float | NIFTI_stat_to_zscore (float thr, int statcode, float *stataux) | 
Define Documentation
| 
 | 
| 
 Definition at line 8 of file nifti_statlib.c. | 
Function Documentation
| 
 | ||||||||||||||||
| Replacement for THD_pval_to_stat(). ---------------------------------------------------------------------------- Definition at line 32 of file nifti_statlib.c. 
 00033 {
00034    float stat = -1.0f ;
00035 
00036    if( pval >= 0.999999f ) return 0.0f ;
00037 
00038    return pval ;
00039 }
 | 
| 
 | ||||||||||||||||
| Replacement for THD_stat_to_pval(). 
 Definition at line 19 of file nifti_statlib.c. References thr. 
 00020 {
00021    float pval = -1.0f ;
00022 
00023    if( thr == 0.0f ) return 1.0f ;
00024 
00025    return pval ;
00026 }
 | 
| 
 | ||||||||||||||||
| Replacement for THD_stat_to_zscore(). ---------------------------------------------------------------------------- Definition at line 45 of file nifti_statlib.c. References thr. 
 00046 {
00047    float zscore = thr ;
00048 
00049    return zscore ;
00050 }
 | 
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  