nipype.algorithms.stats module

Managing statistical maps

ActivationCount

Link to code

Bases: SimpleInterface

Calculate a simple Activation Count Maps

Adapted from: https://github.com/poldracklab/CNP_task_analysis/ blob/61c27f5992db9d8800884f8ffceb73e6957db8af/CNP_2nd_level_ACM.py

in_files : a list of items which are a pathlike object or string representing an existing file
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.
acm_neg : a pathlike object or string representing an existing file
Negative activation count map.
acm_pos : a pathlike object or string representing an existing file
Positive activation count map.
out_file : a pathlike object or string representing an existing file
Output activation count map.