Comments (11)
the code around line 46 in fiff_read_epochs reads
%
% Locate the data of interest
%
processed = fiff_dir_tree_find(meas, FIFF.FIFFB_PROCESSED_DATA);
if length(processed) == 0
fclose(fid);
error(me,'Could not find epochs data');
end
ep = fiff_dir_tree_find(meas, FIFF.FIFFB_EPOCHS);
if length(ep) == 0
fclose(fid);
error(me,'Could not find epochs data'); % LINE 46
end
It seems to me that
- the file was written incorrectly, or that
- the file does not contain any epochs, perhaps not even MEG data.
error 2 would be your error (i.e. trying to read the wrong file), error 1 would be an error in the writing code, i.e. in MNE-Python.
from mne-matlab.
Perhaps you should report it as mne-python issue instead.
@agramfort, what do you think?
from mne-matlab.
I am sure that my -epo.fif file is OK, since I can browse it in mne-python
and the epochs look as they should. I also used these epochs for source
localization in MNE.
Therefore, it is more likely to be error [1]
Elena
On 25 October 2016 at 12:50, Robert Oostenveld [email protected]
wrote:
the code around line 46 in fiff_read_epochs reads
%
% Locate the data of interest
%
processed = fiff_dir_tree_find(meas, FIFF.FIFFB_PROCESSED_DATA);
if length(processed) == 0
fclose(fid);
error(me,'Could not find epochs data');
endep = fiff_dir_tree_find(meas, FIFF.FIFFB_EPOCHS);
if length(ep) == 0
fclose(fid);
error(me,'Could not find epochs data'); % LINE 46
endIt seems to me that
- the file was written incorrectly, or that
- the file does not contain any epochs, perhaps not even MEG data.
error 2 would be your error (i.e. trying to read the wrong file), error 1
would be an error in the writing code, i.e. in MNE-Python.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALeOuvSp4tzqZmXD9Uz9aRfTEXaEiTe_ks5q3d7agaJpZM4Kf0tK
.
from mne-matlab.
from mne-matlab.
OK, but I can only do it tomorrow morning.
Elena
On 25 October 2016 at 20:56, Alexandre Gramfort [email protected]
wrote:
elena, can you share the epo.fif file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALeOuncY3-GuvJ2nckYCSGsVRlp1kUzqks5q3lDngaJpZM4Kf0tK
.
from mne-matlab.
Hi,
Here is the -epo.fif file I was not able to upload to the Fieldtrip.
https://drive.google.com/open?id=0B4vg0ZrqLpGCcnNBODBHSmJFcWM
Best regards,
Elena
On 25 October 2016 at 20:56, Alexandre Gramfort [email protected]
wrote:
elena, can you share the epo.fif file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALeOuncY3-GuvJ2nckYCSGsVRlp1kUzqks5q3lDngaJpZM4Kf0tK
.
from mne-matlab.
from mne-matlab.
Dear Alex,
How can I try the fixed program? Should I download the new MNE version?
Elena
On 29 October 2016 at 19:40, Alexandre Gramfort [email protected]
wrote:
I think i fixed it in:
https://github.com/mne-tools/mne-matlab/commit/
89a8b65if you confirm it works I'll open a PR on fieldtrip.
it's our mess with change/fix of FIFF constants.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALeOurPEtrVo682WHt2F9OzcjKc-vE5Fks5q44T-gaJpZM4Kf0tK
.
from mne-matlab.
from mne-matlab.
Thank you!
It worked.
Elena
On 1 November 2016 at 14:18, Alexandre Gramfort [email protected]
wrote:
just get the latest mne-matlab toolbox at:
https://github.com/mne-tools/mne-matlab/archive/master.zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALeOun_gZU6r8Nvf5mN56ojJalV9Jlprks5q5zwxgaJpZM4Kf0tK
.
from mne-matlab.
closing.
from mne-matlab.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mne-matlab.