Print

Print



Dear Neuromeg -

Is there a way to cut a middle section of data out of a FIF file into a new FIF file?

If I want to extract 200-400secs for example, I have tried the "-skip 1 200 400 999" option (together with "-nosss") in maxfilter-2.2.12 (which seems to execute fine, even if I do not know duration of raw FIF file, except that it is less than 999), but:


1.   The first ~200 secs in the new data file are all zeros, rather than being removed (though the remaining data after 400secs does seem to have been removed!) - how do I remove them!?



2.   The first non-zero value is actually at sample 185001 (@1KHz sampling), rather than expected 200001, presumably because the original file also had "initial skip #s = 15.000 s". Is there an easy way to read the initial skip from the raw FIF so that I can incorporate it into the "skip" parameters before calling maxfilter?


Thanks for any help
Rik


---------------------------------------------------------------

Prof Richard Henson
MRC Programme Leader and Deputy Director, MRC Cognition and Brain Sciences Unit
Professor of Cognitive Neuroscience, Department of Psychiatry, University of Cambridge
President-Elect, British Neuroscience Association

MRC Cognition and Brain Sciences Unit
University of Cambridge
15 Chaucer Road
Cambridge, CB2 7EF
England
EMAIL:  [log in to unmask]<mailto:[log in to unmask]>
URL:    http://www.mrc-cbu.cam.ac.uk/people/rik.henson/personal
DIRECT: +44 (0)1223 767 591
RECEPT: +44 (0)1223 355 294
MOBILE: +44 (0)794 1377 345

---------------------------------------------------------------



########################################################################

To unsubscribe from the NEUROMEG list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=NEUROMEG&A=1