AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
November 13, 2019 09:11PM
Dear AFNI,

I'm using RetroTS.py to get cardiac regressors for each slice in a 4D dataset, from cardiac/respiratory data recorded while it was collected. This yields regressors with this naming scheme

<slice #, starting at 0>. <RVT 0-4> <Card0-Card3)

Our ultimate goal is to detect the slices where peaks of the cardiac response occurred, producing a binary time series for each slice. More concretely, we would take the output of RetroTS.py, e.g.

Output_File_Name.slibase.1D

and turn it into a #time points x #slices binary matrix. I already extracted the #time points x #regressors_per_slice matrix from that output, if that helps.

What is the best way of accomplishing this? I was told I might need to use lib_RetroTS/PeakFinder.py for that, but there is very little documentation for it...

thank you for your help!
Francisco
Subject Author Posted

getting binary regressors for peak of cardiac response

fpereira November 13, 2019 09:11PM