afni.nimh.nih.gov
Navigation
Home
About
Documentation
Software
Message Board
SSCC Staff
Bootcamp
Contact Us
History of AFNI updates
Previous Message
Next Message
Message List
New Topic
Print View
rick reynolds
February 21, 2019 09:04AM
|
Moderator
Registered: 11 years ago
Posts: 4,631
Hi Cesar,
Use AFNI_WRITE_1D_AS_PREFIX to tell the software not to just write as 1D, even if it looks like it.
For example, if t.1D has 3 rows (voxels) and 5 columns (time points), then the command:
3dcopy -DAFNI_WRITE_1D_AS_PREFIX=Y t.1D TT
would produce a TT+orig with 3 voxels and 5 time points.
Does that do what you want? If you need to transpose, use 1dtranspose before 3dcopy.
- rick
Reply
Quote
RSS
Subject
Author
Posted
create 3d+time dataset from 2D matrix
Cesar Caballero Gaudes
February 20, 2019 03:28AM
Re: create 3d+time dataset from 2D matrix
Daniel Glen
February 20, 2019 12:37PM
Re: create 3d+time dataset from 2D matrix
rick reynolds
February 21, 2019 09:04AM
Re: create 3d+time dataset from 2D matrix
Cesar Caballero Gaudes
February 21, 2019 04:06PM