Hi,

 

Best way is in the GLM using regressor – one for each volume with a ‘1’ for the volume you want to excluded and ‘0’s otherwise – then you don’t alter many other data features.

 

David

 

 

 

From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Eric HG
Sent: 29 March 2017 00:11
To: [log in to unmask]
Subject: [SPM] Removing volumes from functional image

 

Hi everyone,

 

Does any of you have some code to remove specific volumes from functional images? Like removing the following volumes: [1:3 43:58 121:142].

 

Thanks a lot in advance,

 

Eric