Back to the main page.
Bug 204 - ft_freqanalysis crashes when specest implementation is used
Status | CLOSED INVALID |
Reported | 2010-11-08 15:52:00 +0100 |
Modified | 2010-11-09 16:51:07 +0100 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P1 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Jan-Mathijs Schoffelen - 2010-11-08 15:52:24 +0100
this happens when a trial returns an empty spectrum in the case of mtmconvol, which happens when the data is shorter than the timewindow requested. JM will fix this.
Roemer van der Meij - 2010-11-09 09:29:28 +0100
Hmmm, doesn't this mean that all frequencies/timepoints will only have NaNs (because of equal padding across trials)? Leading to a faulty output in all cases? If I'm right, it might be easiest to throw an error if all(~isnan)==1, instead of building a fix around it. Or was this what you were thinking about?