TemporalSmoothingFD3DEx Method


Description

Filters the time series of each voxel in a VTC file. Can be used to remove linear and non-linear drifts (high-pass) and/or to smooth the time series (low-pass).

Syntax

objDocument.TemporalSmoothingFD3DEx(intHighPass, intLowPass, strVTCFileNameIn, strVTCFileNameOut)

Remarks

Valid only if objDocument is of type VMR. The method operates identical as the TemporalSmoothingFD3D version. In addition to the specification of the high-pass and low pass filter values, the source VTC file (strVTCFileNameIn) and a file name for the resulting VTC file (strVTCFileNameOut) must be specified. The source VTC file will be linked to objDocument and loaded into memory prior to temporal smoothing. The filtered file will be saved to disk under the specified "Out" file name. The resulting VTC file is linked automatically to objDocument.

Example

' VBScript
Set doc = BrainVoyager.
OpenDocument("subject.vmr")
doc.
TemporalSmoothingFD3DEx 3, 200, "cg_objects_SC.vtc", "cg_objects_SC_FFTofTime.vtc"

// JScript
doc = BrainVoyager.
OpenDocument("subject.vmr");
doc.
TemporalSmoothingFD3DEx(3, 200, "cg_objects_SC.vtc", "cg_objects_SC_FFTofTime.vtc");

# PerlScript
$doc = $BrainVoyager->
OpenDocument("subject.vmr");
$doc->
TemporalSmoothingFD3DEx(3, 200, "cg_objects_SC.vtc", "cg_objects_SC_FFTofTime.vtc");