Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ofgulban committed Mar 5, 2025
1 parent f7d3711 commit 0413469
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
16 changes: 8 additions & 8 deletions src/LN2_SENSITIVITY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
int show_help(void) {
printf(
"LN2_SENSITIVITY: Compute a voxel-wise measure of functional sensitivity\n"
" from a 4D matrix containing fMRI responses to N tasks\n"
" (e.g., betas, percent signal change, t-statistics).\n"
" from a 4D nifti containing fMRI responses to multiple\n"
" (at least 2) tasks (e.g. betas, percent signal changes...).\n"
" This method provides a measure of how strongly a voxel responds\n"
" to different tasks (overall responsiveness of a voxel).\n"
"\n"
Expand All @@ -15,16 +15,16 @@ int show_help(void) {
"\n"
"Options:\n"
" -help : Show this help.\n"
" -input : 4D matrix of dimensions (X, Y, Z, N) where\n"
" (X, Y, Z) are the spatial dimensions of the brain volume\n"
" and N is the number of task conditions (e.g. fMRI task responses)\n"
" -input : 4D matrix of dimensions (X, Y, Z, N) where (X, Y, Z) are\n"
" the spatial dimensions of the brain volume and N is the number\n"
" of task conditions (e.g. fMRI task responses)\n"
" -output : (Optional) Output basename for all outputs.\n"
"\n"
"Citation:\n"
" - Pizzuti, A., Huber, L., Gulban, O.F, Benitez-Andonegui A., Peters, J., Goebel R.,\n"
" (2023). Imaging the columnar functional organization of\n"
" human area MT+ to axis-of-motion stimuli using VASO at 7 Tesla.\n"
" Cerebral Cortex. <https://doi.org/10.1093/cercor/bhad151>\n"
" (2023). Imaging the columnar functional organization of human area MT+ to \n"
" axis-of-motion stimuli using VASO at 7 Tesla. Cerebral Cortex.\n"
" <https://doi.org/10.1093/cercor/bhad151>\n"
"\n"
"NOTES: \n"
" Sensitivity is based on the magnitude (ln2norm) of a voxel's response profile.\n"
Expand Down
23 changes: 11 additions & 12 deletions src/LN2_SPECIFICITY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
int show_help(void) {
printf(
"LN2_SPECIFICITY: Compute a voxel-wise measure of functional specificity\n"
" from a 4D matrix containing fMRI responses to N tasks\n"
" (e.g., betas, percent signal change, t-statistics)\n"
" This method complements the 'Winner Takes All' approach\n"
" from a 4D nifti containing fMRI responses to multiple\n"
" (at least 2) tasks (e.g. betas, percent signal changes...).\n"
" This method complements the 'winner takes all' approach\n"
" providing a measure of how specific is voxel's response\n"
" to the winning condition. \n"
" Specificity is normalized between 0-1.\n"
" to the winning condition. Specificity is normalized between 0-1.\n"
"\n"
"Usage:\n"
" LN2_SPECIFICITY -input input.nii\n"
Expand All @@ -20,20 +19,20 @@ int show_help(void) {
"Options:\n"
" -help : Show this help.\n"
" -input : 4D matrix of dimensions (X, Y, Z, N) where\n"
" (X, Y, Z) are the spatial dimensions of the brain volume\n"
" and N is the number of task conditions (e.g. fMRI task responses)\n"
" (X, Y, Z) are the spatial dimensions of the brain volume\n"
" and N is the number of task conditions (e.g. fMRI task responses)\n"
" -output : (Optional) Output basename for all outputs.\n"
"\n"
"Citation:\n"
" - Pizzuti, A., Huber, L., Gulban, O.F, Benitez-Andonegui A., Peters, J., Goebel R.,\n"
" (2023). Imaging the columnar functional organization of\n"
" human area MT+ to axis-of-motion stimuli using VASO at 7 Tesla.\n"
" Cerebral Cortex. <https://doi.org/10.1093/cercor/bhad151>\n"
" (2023). Imaging the columnar functional organization of human area MT+ to \n"
" axis-of-motion stimuli using VASO at 7 Tesla. Cerebral Cortex.\n"
" <https://doi.org/10.1093/cercor/bhad151>\n"
"\n"
"NOTES: \n"
" Specificity is based on the cosine similarity between the vector with the voxel's\n"
" response profile and a reference vector representing a maximally specific response pattern.\n"
" By default, negative values are zeroed before computation.\n"
" response profile and a reference vector representing a maximally specific response\n"
" pattern. By default, negative values are zeroed before computation.\n"
"\n");
return 0;
}
Expand Down

0 comments on commit 0413469

Please sign in to comment.