I have resolved the problem of slow smoothing locally at the command line by
calling Linux to create a new subdirectory each time to receive the smoothed
output files. Smoothing then takes .12 seconds per volume or about one
minute in total for 460 input volumes. It takes an additional 10 seconds
for a Linux call to move the generated swaf* files into the same directory
with the waf* files.
Profiling the smoothing function reveals that much of its time is spent in
the MATLAB exist function, so I'm not sure what a general solution across
platforms might be for faster i/o.
Kathy Pearson
UAB Psychology Dept.
|