Hm, I see. Rick will likely be able to address using afni_proc.py with PPI analyses in mind. As your afni_proc.py is written at the moment, I don't know that the multiple runs would be concatenated at the end; you will might just have two files with names "pb*scale*".
But you might want to look at the AFNI Bootcamp demo data set, obtainable for example from the "Boot up" section here:
[
afni.nimh.nih.gov]
... and, in particular, in "AFNI_data6/FT_analysis/PPI/" there is a set of scripts+README file for performing PPI, including an afni_proc.py command, a script to generate PPI regressors, and more.
--pt
Edited 1 time(s). Last edit at 10/08/2018 10:12PM by ptaylor.