[FieldTrip] MNE fiff_read / write_raw_segment

Peter Goodin pgoodin at swin.edu.au
Sun Jan 27 23:36:15 CET 2013

Hi Alex, 

Thanks for letting me know! I'll try changing the precision and see how it goes! 

Peter Goodin,
BSc (Hons), Ph.D Candidate.

Brain and Psychological Sciences Research Centre (BPsych)
Swinburne University,
Hawthorn, Vic, 3122

Monash Alfred Psychiatry Research Centre (MAPrc)
Level 1, Old Baker Building
Commercial Road
Melbourne, Vic, 3004

From: fieldtrip-bounces at science.ru.nl [fieldtrip-bounces at science.ru.nl] on behalf of Alexandre Gramfort [alexandre.gramfort at inria.fr]
Sent: Sunday, 27 January 2013 8:49 PM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] MNE fiff_read / write_raw_segment

hi Peter,

> The size of the input file is ~2gb but when
> writing, the output is approx ~18gb. I suspect I'm writing a WHOLE bunch of
> redundant data, but am unable to open the new file, even on a machine
> running 16gb RAM.

what is likely to happen is that the matlab code writes data as double precision
while the original neuromag data were in float 16. Note that a single fif file
cannot exceed 2Go due to internal pointer arithmetic otherwise it will
be broken.
What you can do is hack the fif writing to make sure it's written back
in float16.

fieldtrip mailing list
fieldtrip at donders.ru.nl

More information about the fieldtrip mailing list