I am a fairly new user to Afni and have encountered a problem in processing my data. I am trying to run the command 3dcalc in order to eliminate the first few TRs and the last few TRs of my dataset. I have a directory that contains file types .dat, .BRIK, and .HEAD. Within this folder I am running Afni in the background (afni &). I enter the example command as follows:
3dcalc -prefix Brent/folder/folder2/folder3/file1 -a 'epiRT_scan_1#001+orig[5..100]' -expr 'a'
I understand this command to mean that I want to run the 3dcalc command and place a new file called file1 in directory Brent/folder/folder2/folder3. The new file1 will come from the file 'epiRT_scan_1#001+orig' and I will eliminate TRs 0 thru 4 and anything after TR 100. Note: I changed some of the names to protect data. When running this command, from the directory Brent, I received the following statement:
FATAL ERROR: can't open dataset epiRT_scan_1#001+orig[5..100].
Please help me resolve this error.