<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Amir,
<div class=""><br class="">
</div>
<div class="">It should be possible to bypass ft_definetrial when calling ft_artifact_jump. One needs to supply a second input argument, i.e. ft_artifact_jump(cfg, data); As long as the cfg does not point to a dataset (i.e. does not have cfg.datafile/dataset
 etc.) it should work, as far as I know.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 02 Sep 2016, at 01:10, Borna, Amir <<a href="mailto:aborna@sandia.gov" class="">aborna@sandia.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">
Dear Fieldtrip community,<o:p class=""></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">
I have a basic question regarding importing an arbitrary dataset into the fieldtrip. I have acquired MEG data using atomic magnetometers, and have imported my MEG data into fieldtrip and have had limited success running ICA, etc. To use most ft functions, e.g.
 ft_artifact_jump, it is essential to import the data using ft_definetrial. I was wondering if there is a way to use ft_definetrial to import an arbitrary dataset into fieldtrip. Thank you in advance for your help.<o:p class=""></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">
Best,<o:p class=""></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">
Amir Borna.<o:p class=""></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">
Sandia National Lab.<o:p class=""></o:p></p>
</div>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:fieldtrip@donders.ru.nl" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">fieldtrip@donders.ru.nl</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>