NeuroStat / neuRosim

An R package to simulate fMRI Data Including Activated Data, Noise Data and Resting State Data
GNU General Public License v2.0
11 stars 6 forks source link

Bug when dim does not equal 3 #6

Closed JuliaBeitner closed 5 years ago

JuliaBeitner commented 5 years ago

Function gave an error message at apply(act.image, c(1,2,3), fun) when only one timeseries for one active voxel was generated. Now it should work for single voxels, as well as 2D slices, and whole 3D brain time series again.

HBossier commented 5 years ago

Hi Julia,

Perfect! Thanks for fixing.