algorithms.stats¶
ActivationCount¶
Calculate a simple Activation Count Maps
Adapted from: https://github.com/poldracklab/CNP_task_analysis/ blob/61c27f5992db9d8800884f8ffceb73e6957db8af/CNP_2nd_level_ACM.py
Inputs:
[Mandatory]
in_files: (a list of items which are an existing file name)
input file, generally a list of z-stat maps
threshold: (a float)
binarization threshold. E.g. a threshold of 1.65 corresponds to a
two-sided Z-test of p<.10
[Optional]
ignore_exception: (a boolean, nipype default value: False)
Print an error message instead of throwing an exception in case the
interface fails to run
Outputs:
acm_neg: (an existing file name)
negative activation count map
acm_pos: (an existing file name)
positive activation count map
out_file: (an existing file name)
output activation count map