Name¶
db_corr - Correlate DNN activation with brain response
Synopsis¶
db_corr [-h] -act Activation [-layer Layer [Layer ...]]
[-chn Channel [Channel ...]] [-dmask DnnMask] [-iteraxis Axis]
-resp Response [-bmask BrainMask] [-roi RoiName [RoiName ...]]
-out Output
Arguments¶
Required Arguments¶
Argument |
Discription |
|---|---|
act |
DNN activation file |
resp |
a .roi.h5/.nii file. |
out |
output directory. |
Optional Arguments¶
Argument |
Discription |
|---|---|
layer |
layer names of interest |
chn |
channel numbers of interest |
dmask |
a .dmask.csv file in which layers of interest are listed with their own channels, rows and columns of interest. |
iteraxis |
choices = (channel, row_col) |
bmask |
Brain mask is used to extract activation
locally. |
roi |
Specify ROI names as the correlates. |
Outputs¶
Examples¶
db_corr -act test.act.h5 -layer conv5 fc1 -resp resp.nii.gz -bmask bmask.nii.gz -out out_dir