TemporalSmoothingFD2DEx Method


Description

Filters the time series of each voxel in the STC files of an FMR project. Can be used to remove linear and non-linear drifts (high-pass) and/or to smooth the time series (low-pass).

Syntax

objDocument.TemporalSmoothingFD2DEx(intHighPass, intLowPass, strNewFMRFileName, strNewSTCPrefix)

Remarks

Valid only if objDocument is of type FMR. The method operates identical as the TemporalSmoothingFD2D version. In addition to the specification of the high-pass and low pass filter values, the name of the resulting FMR project (strNewFMRFileName) and the resulting STC prefix (strNewSTCPrefix) must be specified.

Example

' VBScript
Set doc = BrainVoyager.
OpenDocument("cg_objects.fmr")
doc.TemporalSmoothingFD2DEx 3, 200, "cg_objects_TSFD-3-200.fmr", "slice_TSFD-"

// JScript
doc = BrainVoyager.
OpenDocument("cg_objects.fmr");
doc.TemporalSmoothingFD2DEx(3, 200, "cg_objects_TSFD-3-200.fmr", "slice_TSFD-");

# PerlScript
$doc = $BrainVoyager->
OpenDocument("cg_objects.fmr");
$doc->TemporalSmoothingFD2DEx(3, 200, "cg_objects_TSFD-3-200.fmr", "slice_TSFD-");