Doxygen Source Code Documentation
nifti_statlib.h File Reference
Go to the source code of this file.
Defines | |
| #define | NIFTI_INTENT_CORREL 2 | 
| #define | NIFTI_INTENT_TTEST 3 | 
| #define | NIFTI_INTENT_FTEST 4 | 
| #define | NIFTI_INTENT_ZSCORE 5 | 
| #define | NIFTI_INTENT_CHISQ 6 | 
| #define | NIFTI_INTENT_BETA 7 | 
| #define | NIFTI_INTENT_BINOM 8 | 
| #define | NIFTI_INTENT_GAMMA 9 | 
| #define | NIFTI_INTENT_POISSON 10 | 
| #define | NIFTI_INTENT_NORMAL 11 | 
| #define | NIFTI_INTENT_FTEST_NONC 12 | 
| #define | NIFTI_INTENT_CHISQ_NONC 13 | 
| #define | NIFTI_INTENT_LOGISTIC 14 | 
| #define | NIFTI_INTENT_LAPLACE 15 | 
| #define | NIFTI_INTENT_UNIFORM 16 | 
| #define | NIFTI_INTENT_TTEST_NONC 17 | 
| #define | NIFTI_INTENT_WEIBULL 18 | 
| #define | NIFTI_INTENT_CHI 19 | 
| #define | NIFTI_INTENT_INVGAUSS 20 | 
| #define | NIFTI_INTENT_EXTVAL 21 | 
| #define | NIFTI_INTENT_PVAL 22 | 
| #define | NIFTI_INTENT_LOGPVAL 23 | 
| #define | NIFTI_INTENT_LOG10PVAL 24 | 
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) | 
Variables | |
| int | NIFTI_need_stat_aux [] | 
Define Documentation
      
  | 
  
| 
 
 Definition at line 9 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 10 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 21 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 8 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 15 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 4 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 23 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 6 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 14 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 11 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 22 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 17 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 26 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 16 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 25 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 13 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 12 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 24 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 5 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 19 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 18 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 20 of file nifti_statlib.h.  | 
  
      
  | 
  
| 
 
 Definition at line 7 of file nifti_statlib.h.  | 
  
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 }
 | 
  
Variable Documentation
      
  | 
  
| 
 Initial value:  { 0 , 0 ,
                                     3 , 1 , 2 , 0 , 1 , 2 , 2 , 2 , 1 ,
                                     2 , 3 , 2 , 2 , 2 , 2 , 3 , 1 , 2 ,
                                     2 , 0 , 0 , 0
                                   }Definition at line 31 of file nifti_statlib.h.  |