Shows a time course from a Region-Of-Interest of the currently linked VTC file.
objDocument.ShowTimeCourseOfVoxel(intX, intY, intZ, strTimeCourseWindowName)
Valid only if objDocument
is of type VMR. A VTC file must be linked to the VMR. The voxel is specified
by system coordinates intX, intY and intZ.
The name for the window (strTimeCourseWindowName)
can be used to move the window to a new position using the MoveTimeCoursePlot
method and to close the window using the CloseTimeCoursePlot
method.
The function behaves exactly like clicking with the right mouse button
at a position in the VMR viewing window. If no statistical map (VMP) has
been computed, a ROI Time Course window appears showing the time course
of the respective voxel. If a map has been computed, the ROI Time Course
window shows the time course of the Region-Of-Interest to which the selected
voxel belongs. No window will appear in the latter case if the specified
voxel does not hit a "hot" voxel. You can control this behavior
by using the ShowTimeCourseOfVoxelEx
method.
' VBScript
Set doc = BrainVoyager.OpenDocument("cg2_TAL.vmr")
doc.LinkVTC "CG_OBJECTS_SC.vtc",
0
doc.ShowTimeCourseOfVoxel 100, 180, 145, "TC
window"
// JScript
doc = BrainVoyager.OpenDocument("cg2_TAL.vmr");
doc.LinkVTC("CG_OBJECTS_SC.vtc", 0);
doc.ShowTimeCourseOfVoxel(100, 180, 145, "TC
window");
# PerlScript
$doc = $BrainVoyager->OpenDocument("cg2_TAL.vmr");
$doc->LinkVTC("CG_OBJECTS_SC.vtc",
0);
$doc->ShowTimeCourseOfVoxel(100, 180, 145, "TC window");