1 #ifndef _READGLOB_HEADER_ 2 #define _READGLOB_HEADER_ 3 4 5 // ------------------- for DTI globbing ------------------------------- 6 7 #define N_DTI_XTRA (1) 8 #define N_DTI_SCAL (4) 9 #define N_DTI_VECT (3) 10 #define N_DTI_PLUS (4) // number of allowed additional param files 11 // in NIMLver 12 13 #define N_CHAR_PATH (300) // for possible path length in fnames 14 15 // for tracking output 16 #define N_DTI_MAX_PARS ( N_DTI_SCAL + N_DTI_PLUS + N_DTI_XTRA ) 17 18 //#define N_DTI_SCAL_TOT (10) // 1+2+3, matches with N_DTI_SCAL; !!! 19 20 static char *DTI_SCAL_LABS[N_DTI_SCAL] = {"FA", "MD", "L1", "RD"}; // labels 21 static char *DTI_VECT_LABS[N_DTI_VECT] = {"V1", "V2", "V3"}; 22 static char *DTI_PLUS_LABS[N_DTI_PLUS] = {"P1", "P2", "P3", "P4"}; 23 static char *DTI_XTRA_LABS[N_DTI_XTRA] = {"XF"}; 24 25 // ------------------- for DTI globbing ------------------------------- 26 int glob_for_DTI_vec( char *infix, 27 THD_3dim_dataset **insetVECS, 28 int hardi_pref_len); 29 30 int glob_for_DTI_trac( char *infix, 31 THD_3dim_dataset **insetPARS, 32 char **wild_names, 33 int hardi_pref_len, 34 int *pars_top, 35 int SEARCH_NO); 36 37 int glob_for_DTI_unc( char *infix, 38 THD_3dim_dataset **insetPARS, 39 int hardi_pref_len); 40 41 42 int glob_for_DTI( char *infix, 43 THD_3dim_dataset **insetPARS, 44 THD_3dim_dataset **insetVECS, 45 int hardi_pref_len, 46 int FULL); 47 48 int list_for_DTI( char *dti_listname, 49 THD_3dim_dataset **insetPARS, 50 THD_3dim_dataset **insetVECS, 51 int *extrafile, int *pars_top, 52 char **wild_names, 53 int FULL); 54 55 #endif /* _READGLOB_HEADER_ */ 56