1.10.4
While it was possible to create DMR DTI projects in previous versions, it was not possible to transform the diffusion weighted data into 3D space via script functions. The "CreateVDWInVMRSpace", "CreateVDWInACPCSpace" and "CreateVDWInTALSpace" script functions have been added to perform this transformation. The parameters of these functions are the same as those in the corresponding "CreateVTC" functions.
1.10.3
The motion correction commands ”CorrectMotionEx” and ”CorrectMotionTargetVolumeInOtherRunEx”
always used trilinear interpolation in previous versions.
The third parameter ”InterpolationMethod” allows now to specify the same interpolation
methods as used in the GUI; value ”1” (or ”0”) is interpreted as trilinear interpolation, value ”2” is interpreted as ”trilinear-sinc” (trilinear interpolation for detection of motion parameters, sinc interpolation for final transformation) and value ”3” is interpreted as ”sinc-sinc” (sinc interpolation is used for detection and transformation).
The command "CorrectSliceTiming(int SliceScanOrderType, int InterpolationMethod)" accepts now three values for the "InterpolationMethods" parameter: value "1" requests linear, "2" cubic spline and "3" sinc interpolation. To request sinc interpolation for the "CreateVTC*" set of commands, use value "2" for the "InterpolationMethod" parameter ("1" for trilinear, "0" for nearest neighbor interpolation). The "LoadMesh()" command did not work in the previous release; this problem has been fixed.
The VMR document property "ExtendedTALSpaceForVTCCreation" has been added allowing to control the size of Talairach VTC boxes with either standard size or extended size including whole cerebellum. The property must be set before calling the "CreateVTCInTALSpace" (or "CreateVTC") command. The default value of the "ExtendedTALSpaceForVTCCreation" property is "false" resulting in VTCs in standard Talairach space.
A few new scripting commands have been added. The CreateProjectFMRSlicesTimeLooping() command works in the same way as the CreateProjectFMR() command but reads the data in the order "first all data of slice 1, then all data (time points) of slice 2". The LinkAMR() command links a AMR file to a FMR file. To keep this link permanently, call docFMR.Save().
The AutoTransformToIsoVoxel() converts a VMR data set into an isovoxel 1mm version. This command requires header information about the original voxel size, which is available in almost all original file formats (including Analyze).
The AutoTransformToSAG() command reorients a VMR data set so that it corresponds to the standard BrainVoyager (sagittal) format. This automatic "ToSAG" function requires slice position information in the header, which is available in most but not all original file formats (e.g. not in Analyze). An example application of the new commands is included in the "bvqx_v1.6.qsa" script project file, which should be located in your "BVQXExtensions/Scripts" folder after installation of BrainVoyager QX v1.6.
In the BrainVoyager QX 1.4, the methods ShowLogTab() and printLogText(String) are new. These methods can be used to display information about the script process in the Log tab of BrainVoyager QX:
The command BrainVoyagerQX.ShowLogTab(); will show the Log tab in case the 'Files', 'Info' or 'Help' tab is opened instead.
The scripting command BrainVoyagerQX.PrintToLog("Text from script"); will print the text on the log tab. End-of-line ('\n') and tab ('\t') characters can be used as well:
BrainVoyagerQX.PrintToLog("\n\n\n Text from script");
BrainVoyagerQX.PrintToLog("\n Text \t from script");
Since BrainVoyager QX 1.3 it will be possible to use plugins on Windows platforms. BrainVoyager QX 1.3 will be shipped with a startup plugin Visual Studio project.
Other changes in version 1.3 are that there are many BrainVoyager scripting methods now implemented in QX. There are also completely new properties and methods in BrainVoyager QX 1.3 (not yet added to the API but most of the new properties and methods are described in chapter 1):
New properties:
AutoAddConstantPredictor
ZTransformStudiesBaselineOnly
CorrectForSerialCorrelations
New methods:
CorrectMotionEx()
CorrectMotionTargetVolumeInOtherRunEx()
CreateVTCInVMRSpace()
CreateVTCInACPCSpace()
CreateVTCInTALSpace()
ScalePredictorValues()
ClearContrasts()
AddContrast()
SetCurrentContrast()
SetCurrentContrastIndex()
SetContrastString()
SetContrastValue()
SetContrastValueAtIndex()