Most EPI sequences measure the slices of a functional volume in succession but one often would like to treat the data of one volume as if it were acquired at the same time, particularly in the context of event-related studies. Using linear interpolation, the present method resamples the time series for the different slices in such a way that the resulting slice time courses can be treated as if they were obtained simultaneously.
objDocument.SliceTimeCorrectionEx(intTR, intInterSliceTime, intSliceSamplingType, strNewFMRFileName, strNewSTCPrefix)
Valid only if objDocument is of type FMR. The method operates identical as the SliceTimeCorrection version. In addition to the specification of the intTR, intInterSliceTime and intSliceSamplingType, the name of the resulting FMR project (strNewFMRFileName) and the resulting STC prefix (strNewSTCPrefix) must be specified.
' VBScript
Set doc = BrainVoyager.OpenDocument("cg_objects.fmr")
doc.SliceTimeCorrectionEx 2081, 100, 0, "cg_objects_sc.fmr", "slice_sc-"
// JScript
doc = BrainVoyager.OpenDocument("cg_objects.fmr");
doc.SliceTimeCorrectionEx(2081, 100, 0, "cg_objects_sc.fmr", "slice_sc-");
# PerlScript
$doc = $BrainVoyager->OpenDocument("cg_objects.fmr");
$doc->SliceTimeCorrectionEx(2081, 100, 0, "cg_objects_sc.fmr", "slice_sc-");