<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="">
Dear community,
<div class=""><br class="">
</div>
<div class="">As you know, the FieldTrip development model is based on continuous incremental improvements, where changes are made to the code repository on github, sometimes multiple times per day. In our implicit code of conduct, one of our core values is
to maintain backward compatibility. This means that we not only aim not to break properly functioning user scripts that have been written with a (not too outdated) slightly older version of the FieldTrip code, but also that we aim at function behavior being
stable over time (unless we find a bug in the code), both in terms of settings of the default parameters, and in terms of numerical output. </div>
<div class="">Occasionally, we decide to slightly sacrifice backward compatibility at the benefit of overall code consistency and maintainability. Usually, we don’t write an e-mail to the list when this happens, because everything is properly documented on
github or bugzilla, and we don’t want to bother you with these mundane issues, but today I make an exception.</div>
<div class="">The reason for this is that I re-implemented ft_timelockanalysis, which is one of the oldest FieldTrip functions and a loyal companion in many an analysis project over the past 15 years. Since I assume that this is a function that many of you
use, I just want to make you aware of this. The most noticeable (if at all) changes are:</div>
<div class=""><br class="">
</div>
<div class="">1) the option cfg.vartrllength has been deprecated. </div>
<div class="">2) the default behavior has changed from expecting the trials of the input data to have fixed length (and throwing an error otherwise) into full support of variable trial lengths, representing missing data as NaNs.</div>
<div class="">3) if you want to explicitly use the old option cfg.vartrllength=0 you should now specify cfg.latency = ‘minperiod’</div>
<div class="">4) with the cfg.keeptrials you will either get an output structure with a single trial representation or with an average representation, not with both. This means that structures with both a ‘trial’, and ‘avg’ field will not be generated anymore.</div>
<div class=""><br class="">
</div>
<div class="">Probably, you won’t need to change anything in your scripts, but since it is difficult to foresee all possible scenarios you might want to think this over yourself.</div>
<div class=""><br class="">
</div>
<div class="">Happy computing,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""> </div>
<br class="">
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
J.M.Schoffelen, MD PhD<br class="">
Senior Researcher, VIDI-fellow - PI, language in interaction<br class="">
Telephone: +31-24-3614793</div>
<div style="color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Physical location: room 00.028</div>
<div style="color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
</div>
<br class="">
</body>
</html>