⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mtc.bff

📁 toolbox of BVQX, This is the access between BV and matlab. It will help you to analysis data from BV
💻 BFF
字号:
# BinaryFileFormat (leave this tag as magic token!)

# BVQX file format for *.MTC files (Mesh timecourse)
# MTC FileVersions supported: 1
#
# Version:  v0.6d
# Build:    7020711
# Date:     Feb-07 2007, 11:45 AM CET
# Author:   Jochen Weber, Brain Innovation, B.V., Maastricht, NL
# URL/Info: http://wiki.brainvoyager.com/BVQXtools

# FILE FORMAT
Description:Mesh time course files
EncodingSyntax:ieee-le
Extensions:mtc

# FIELDS
ListOfFields:!
type  !cond                   !disktype!datatype!dim                      !default !varname
FIELD !                       !uint32  !double  !1, 1                     !        !FileVersion
FIELD !                       !uint32  !double  !1, 1                     !        !NrOfVertices
FIELD !                       !uint32  !double  !1, 1                     !        !NrOfTimePoints
FIELD !                       !cstring !cstring !1, 1                     !        !SourceVTCFile
FIELD !                       !cstring !cstring !1, 1                     !        !LinkedPRTFile
FIELD !                       !uint32  !double  !1, 1                     !        !HemodynamicDelay
FIELD !                       !single  !double  !1, 1                     !        !RepetitionTime
FIELD !                       !single  !double  !1, 1                     !        !HRFDelta
FIELD !                       !single  !double  !1, 1                     !        !HRFTau
FIELD !                       !uint32  !double  !1, 1                     !        !ProtocolSegmentSize
FIELD !                       !uint32  !double  !1, 1                     !        !ProtocolSegmentOffset
FIELD !                       !uint8   !double  !1, 1                     !        !MTCDataType
FIELD !@MTCDataType == 1      !single  !single  !@NrOfTimePoints, @NrOfVertices !  !MTCData

# Read rest of File into REMAININGCONTENT
EXPRE !$BFFREAD   !  !  !  !  !$RemSize = $FILESIZE - ftell(fid);
EXPRE !$BFFWRITE  !  !  !  !  !$RemSize = 0; try, if isfield(@@, 'REMAININGCONTENT'), $RemSize = prod(size(@REMAININGCONTENT)); end, end
FIELD !$RemSize > 0           !uint8   !uint8   !1, $RemSize              !        !REMAININGCONTENT

EndListOfFields

# new file code snippet
NewFileCode:!
@FileVersion = 1;
@NrOfVertices = 40962;
@NrOfTimePoints = 0;
@SourceVTCFile = '';
@LinkedPRTFile = '';
@HemodynamicDelay = 1;
@RepetitionTime = 2000;
@HRFDelta = 2.5;
@HRFTau = 1.25;
@ProtocolSegmentSize = 10;
@ProtocolSegmentOffset = 0;
@MTCDataType = 1;
@MTCData = single(zeros([@NrOfTimePoints, @NrOfVertices]));
EndNewFileCode

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -