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

📄 prt.tff

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

# BVQX file format for *.PRT files (Protocol)
# PRT FileVersions supported: 2
#
# Version:  v0.7a
# Build:    7072014
# Date:     Jul-14 2007, 2:49 PM CEST
# Author:   Jochen Weber, Brain Innovation, B.V., Maastricht, NL
# URL/Info: http://wiki.brainvoyager.com/BVQXtools

# FILE FORMAT
Description:Protocol files
Extensions:prt
FieldDelimiters: {[32]}
LineDelimiters: {[13, 10], [10]}
ParagraphArrays:0
SkipEmptyLines:1
Magic:|
name          |range       |type    |magic
PRT_tccolt    |1, 1024     |regexpi |textcolor.*timecoursecolor.*timecoursethick
EndMagic

# FIELDS
ListOfFields:!
type !cond               !field               !datatype!format !dim    !default !varname
WRTLN!!!!!!!  # empty line
FIELD!                   !FileVersion         !double  !%d     !1      !2       !FileVersion
WRTLN!!!!!!!  # empty line
FIELD!                   !ResolutionOfTime    !string  !%s     !1      !Volumes !ResolutionOfTime
WRTLN!!!!!!!  # empty line
FIELD!                   !Experiment          !string  !%s     !1      !Unknown !Experiment
WRTLN!!!!!!!  # empty line
FLIST!                   !BackgroundColor     !double  !%d     !3      !        !BackgroundColor
FLIST!                   !TextColor           !double  !%d     !3      !        !TextColor
FLIST!                   !TimeCourseColor     !double  !%d     !3      !        !TimeCourseColor
FLIST!                   !TimeCourseThick     !double  !%d     !1      !        !TimeCourseThick
FLIST!                   !ReferenceFuncColor  !double  !%d     !3      !        !ReferenceFuncColor
FLIST!                   !ReferenceFuncThick  !double  !%d     !1      !        !ReferenceFuncThick
WRTLN!!!!!!!  # empty line
FIELD!                   !NrOfConditions      !double  !%d     !1      !        !NrOfConditions

# loop over conditions
EXPRE!$TFFREAD      !!!!!!@Cond = cell2struct(cell(0, 0, 4), {'ConditionName', 'NrOfOnOffsets', 'OnOffsets', 'Color'}, 3); if @NrOfConditions > 0, @Cond(@NrOfConditions).ConditionName = ''; end
BLOOP!                   !CondNo !!!@NrOfConditions !!CondNo
WRTLN!!!!!!!  # empty line
ARRAY!                   !ConditionName       !string  !%s     !1, 1   !        !Cond($CondNo).ConditionName
ARRAY!                   !NrOfOnOffsets       !double  !%d     !1, 1   !        !Cond($CondNo).NrOfOnOffsets
ARRAY!                   !OnOffsets           !double  !%7d    !@Cond($CondNo).NrOfOnOffsets, 2! !Cond($CondNo).OnOffsets
FIELD!                   !Color               !double  !%d     !3      !        !Cond($CondNo).Color
ELOOP!                   !CondNo !!! !!CondNo

EndListOfFields

NewFileCode:!
@FileVersion = 2;
@ResolutionOfTime = 'msec';
@Experiment = 'New experiment';
@BackgroundColor = [0, 0, 0];
@TextColor = [255, 255, 255];
@TimeCourseColor = [192, 192, 192];
@TimeCourseThick = 2;
@ReferenceFuncColor = [0, 0, 80];
@ReferenceFuncThick = 2;
@NrOfConditions = 0;
@Cond = cell2struct(cell(0, 0, 4), {'ConditionName', 'NrOfOnOffsets', 'OnOffsets', 'Color'}, 3);
EndNewFileCode

⌨️ 快捷键说明

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