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  

|
May 11, 2019 11:02PM
Hi guys:

Please forgive this very specific question. I just attended an AFNI Bootcamp (best 5 days of my life) where as part of the handouts you guys provided us with some "c" and "p" scripts in an "AFNI_pamenc" folder.

I was enthralled by how streamlined these scripts made things so have edited them for my own purposes. I have had some registration issues, though, so I basically re-wrote "c.ss.1.sswarper" to perform 3dQwarp after some anatomical manipulation Daniel helped me with because he is wonderful and I love him. I then applied the requisite manipulation to the "c.ss.3.AP.pamenc" script and everything runs fine.

The problem is that with 3dQwarp you don't actually supply the aff12.1D file that is the first entry to cat_matvec because the T1 -> MNI registration warp you get out of 3dQwarp includes both the affine and nonlinear transformation.

My question is - if using these scripts is there any easy way you can think of that can be added or amended to the "c" or "p" script to remove this line from the cat_matvec command? Since the "p" script calls the "c" script which created AND calls the proc script my current solution is to run the "p" script to generate the proc script then quit the program, edit the proc script and then directly call the proc script after editing but this defeats the whole purpose of the "p" and "c" scripts and if I'm going to do this I should just use the proc command on its own. I haven't found anything in the proc. help regarding cat_matvec so just figured I could ask because these "p" and "c" scripts have really streamlined things for me and I'd hate to let them go so easily.

Thanks so much for your wonderful resources and help. You're all amazing.

Lauren
Subject Author Posted

Can you edit cat_matvec from the afni_proc.py command?

lhopkins May 11, 2019 11:02PM

Re: Can you edit cat_matvec from the afni_proc.py command?

rick reynolds May 13, 2019 01:39PM

Re: Can you edit cat_matvec from the afni_proc.py command?

lhopkins May 13, 2019 11:21PM

Re: Can you edit cat_matvec from the afni_proc.py command?

rick reynolds May 14, 2019 08:55AM