I am running searchlight RSA. My existing pipeline involves using python to create spheres across the whole 3D brain (volumetric data) , loop through spheres and assign effect estimation to the center of the sphere.
If I have surface data generated in AFNI (.niml.dset), is there a way to draw 2d circles on surface using all possible centers (preferably in python)?
Thanks Paul. It looks like it’s able to compute summaries within the mask. What I would want to achieve is to extract raw time series for each node within the neighbors.
Say a time series of 100 TRs, for a mask of 50 nodes, I would want to get a 50*100 matrix, instead of stats.
SurfLocalstat \
-hood 10 \
-stat mean \
-prefix data_mean_10mm
... and then every node will hold the mean of values within a 10mm radius of itself. If you only want a subset of 50 of those, fine, you can select those out.
--pt
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.