<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">From:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">张文嘉 <<a href="mailto:zhangwenjia2732@126.com" class="">zhangwenjia2732@126.com</a>><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Subject:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Question for Fieldtrip</b><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Date:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">15 September 2017 at 14:27:20 GMT+2<br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">To:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><<a href="mailto:jan.schoffelen@donders.ru.nl" class="">jan.schoffelen@donders.ru.nl</a>><br class="">
</span></div>
<br class="">
<div class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><br class="">
<div class=""><br class="">
</div>
<div class="">Dear Fieldtrip expert,</div>
<div class=""><br class="">
</div>
<div class="">I am Wenjia from NYU Shanghai. I am doing timefrequency analysis with frildtrip.</div>
<div class="">I have a question that I cannot solve. And, I am wondering whether you could help me.</div>
<div class=""><br class="">
</div>
<div class="">Specifically, I want to import the EGI data that has been preprocessed (after segmentation but no average) into fieldtrip, and further do timefrequency analysis.</div>
<div class="">I donot know how to do this.</div>
<div class=""><br class="">
</div>
<div class="">I have found a script like following:</div>
<div class="">
<div class=""><span style="color: rgb(0, 128, 128);" class=""> cfg = [];</span></div>
<div class=""><span style="color: rgb(0, 128, 128);" class=""> cfg.triggertype = 'Stimulus';</span></div>
<div class=""><span style="color: rgb(0, 128, 128);" class=""> cfg.prestim = 1.0; %1.0s before the onset</span></div>
<div class=""><span style="color: rgb(0, 128, 128);" class=""> cfg.poststim = 2.0; %2.0s after the onset</span></div>
<div class="">
<div class=""><span style="color: rgb(0, 128, 128);" class=""> cfg.inputfile = sprintf('s02_32_tf'); </span></div>
<div class=""><span style="color: rgb(0, 128, 128);" class=""> cfg.triggercode = 'S 32';</span></div>
<div class=""><span style="color: rgb(0, 128, 128);" class=""> data_32 = read_analyzer_data(cfg);</span></div>
</div>
</div>
<div class=""><span style="" class="">"s02_32_tf" is the name that I exported from EGI system, then included 3 files: </span>asc, vhdr and vmrk.</div>
<div class="">However an error poped up: <span style="color: rgb(255, 0, 0);" class="">Undefined function 'read_analyzer_data' for input arguments of type 'struct'.</span></div>
<div class="">Any advice are appreciated. Thank you very much.</div>
<div class=""><br class="">
</div>
<div style="position:relative;zoom:1" class="">--<br class="">
<div class="">Wenjia</div>
<div class="">NYU Shanghai</div>
<div style="clear:both" class=""></div>
</div>
</div>
<br class="">
<br class="">
<span title="neteasefooter" class="">
<div class=""> <br class="webkit-block-placeholder">
</div>
</span></div>
<br class="">
<br class="">
<span title="neteasefooter" class="">
<div class=""> <br class="webkit-block-placeholder">
</div>
</span></div>
<br class="">
<br class="">
<span title="neteasefooter" class="">
<div class=""> <br class="webkit-block-placeholder">
</div>
</span></div>
<br class="">
<br class="">
<span title="neteasefooter" class="">
<div class=""> <br class="webkit-block-placeholder">
</div>
</span></div>
</blockquote>
</div>
<br class="">
</body>
</html>