<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif;font-size:11pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(223, 237, 250);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(223, 237, 250) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}.wf {speak:none; font-weight:normal; font-variant:normal; text-transform:none; -webkit-font-smoothing:antialiased; vertical-align:middle; display:inline-block;}.wf-family-owa {font-family:'o365Icons'}@font-face {  font-family:'o365IconsIE8';  src:url('prem/15.0.898.11/resources/styles/office365icons.ie8.eot?#iefix') format('embedded-opentype'),         url('prem/15.0.898.11/resources/styles/office365icons.ie8.woff') format('woff'),         url('prem/15.0.898.11/resources/styles/office365icons.ie8.ttf') format('truetype');  font-weight:normal;  font-style:normal;}@font-face {  font-family:'o365IconsMouse';  src:url('prem/15.0.898.11/resources/styles/office365icons.mouse.eot?#iefix') format('embedded-opentype'),         url('prem/15.0.898.11/resources/styles/office365icons.mouse.woff') format('woff'),         url('prem/15.0.898.11/resources/styles/office365icons.mouse.ttf') format('truetype');  font-weight:normal;  font-style:normal;}.wf-family-owa {font-family:'o365IconsMouse'}.ie8 .wf-family-owa {font-family:'o365IconsIE8'}.ie8 .wf-owa-play-large:before {content:'\e254';}.notIE8 .wf-owa-play-large:before {content:'\e054';}.ie8 .wf-owa-play-large {color:#FFFFFF/*$WFWhiteColor*/;}.notIE8 .wf-owa-play-large {border-color:#FFFFFF/*$WFWhiteColor*/; width:1.4em; height:1.4em; border-width:.1em; border-style:solid; border-radius:.8em; text-align:center; box-sizing:border-box; -moz-box-sizing:border-box; padding:0.1em; color:#FFFFFF/*$WFWhiteColor*/;}.ie8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-size-play-large {width:40px; height:40px; font-size:30px}--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello fieldtrip,<br>
</p>
<p><br>
</p>
<p>I just want to discuss my processing steps and to determine if I have made any analysis errors.<br>
</p>
<p><br>
</p>
<p>Firstly, I have data converted from eeglab using the following code:<br>
</p>
<p><br>
</p>
<div><span>    </span><span>    </span><span>    </span>% convert to fieldtrip</div>
<div>            process = 'componentanalysis';</div>
<div>            data = eeglab2fieldtrip( EEG, process, 'none');<br>
</div>
<div><br>
</div>
<div>The data is 30 seconds of someone having their eyes closed. There are no trigger codes unfortunately.<br>
</div>
<div>I then run the ft_timelockanalysis function (to be used in tf_sourceanalysis), without any configuration settings specified (I will use the defaults).<br>
</div>
<div><br>
</div>
<div><span>    </span><span>    </span><span>    </span>% calculating the cross spectral density matrix<span>    </span><br>
</div>
<div><span><span>    </span><span>    </span><span>    </span>​cfg = [];<br>
</span></div>
<div><span>    </span><span>    </span><span>    </span>timelock = ft_timelockanalysis(cfg, data);<br>
</div>
<p><br>
</p>
<p>The code runs fine without any errors. As it calculates the data to be one trial long, has the code done anything to do the data. What has it timelocked to?<br>
</p>
<p><br>
</p>
<p>I then calculate the mri_headmodel:<br>
</p>
<p><br>
</p>
<div><span>    </span><span>    </span><span>    </span>% the forward model and lead field matrix</div>
<div><span>    </span><span>    </span><span>    </span>mri = ft_read_mri( 'Subject01.mri');</div>
<div><span>    </span><span>    </span><span>    </span>cfg = [];</div>
<div><span>    </span><span>    </span><span>    </span>cfg.write      = 'no';</div>
<div><span>    </span><span>    </span><span>    </span>cfg.coordsys   = 'ctf';</div>
<div><span>    </span><span>    </span><span>    </span>segmentedmri = ft_volumesegment(cfg, mri);</div>
<div><br>
</div>
<div><span>    </span><span>    </span><span>    </span>cfg = [];</div>
<div><span>    </span><span>    </span><span>    </span>cfg.method = 'concentricspheres';</div>
<div><span>    </span><span>    </span><span>    </span>vol = ft_prepare_headmodel(cfg, segmentedmri);<br>
</div>
<div><br>
</div>
<div>I then run the source analysis code:<br>
</div>
<div><br>
</div>
<div>
<div><span>    </span><span>    </span><span>    </span>% Source Analysis: without contrasting condition</div>
<div>            cfg              = [];</div>
<div>            cfg.method       = 'lcmv';</div>
<div>            %                 cfg.grid         = grid;</div>
<div>            cfg.vol          = vol;</div>
<div>            cfg.dics.projectnoise = 'yes';<br>
</div>
<div>            cfg.dics.lambda       = 0;</div>
<div>            sourcePost = ft_sourceanalysis( cfg, timelock);<br>
</div>
<div><br>
</div>
<div>The code also runs fine. However, what I have found is that I cant plot the data using ft_sourceplot.<br>
</div>
<div>As I am not 100% on how these functions operate and how to properly run a beamformer on continuous data, I am not sure whether<br>
</div>
<div>the step that I have taken are appropriate, or that I am kind of making it up as I go along.<br>
</div>
<div><br>
</div>
<div>I cant find anywhere how to do a beamformer on continuous data without trials of some sort.<br>
</div>
<div><br>
</div>
<div>Any help will be appreciated.<br>
</div>
<div><br>
</div>
<div>Tyler.<br>
</div>
<br>
</div>
<p><br>
</p>
<div>
<p><br>
</p>
<div name="divtagdefaultwrapper" style="font-family: calibri, arial, helvetica, sans-serif; margin: 0px;">
<div style="font-family: tahoma; font-size: 13px;">
<div style="font-family: tahoma; font-size: 13px;">
<div style="font-family: tahoma; font-size: 13px;">
<div style="font-size: 13px;">*************************
<div style="font-family: tahoma;"><br>
</div>
<div><font face="Arial"><i>Tyler Grummett ( BBSc, BSc(Hons I))</i></font></div>
<div><font face="Arial"><i>PhD Candidate</i></font></div>
<div><font face="Arial"><i>Brain Signals Laboratory</i></font></div>
<div><font face="Arial"><i>Flinders University</i></font></div>
<div><font face="Arial"><i>Rm 5A301</i></font></div>
<div><font face="Arial"><i>Ext 66124</i></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>