JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for SPM Archives


SPM Archives

SPM Archives


SPM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

SPM Home

SPM Home

SPM  March 2009

SPM March 2009

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

BTi file recognition.

From:

Vladimir Litvak <[log in to unmask]>

Reply-To:

Vladimir Litvak <[log in to unmask]>

Date:

Wed, 18 Mar 2009 00:29:35 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (219 lines)

Dear Zoubir,

Is this the problem that was already solved with the help of Don
Rojas? The problem is that SPM does not recognize these files as BTi
files. I've never seen BTi files with extension *.1Hz before. Is this
the original extension or have you changed it? You can force SPM to
treat these files as BTi if you use the batch version of conversion
(in the latest SPM8b). There you'll have a possibility to specify the
input data type. In your case it should probably be '4d' although I'm
not sure because there are several types of 4d-related formats.

But if the problem is already solved in a different way, don't worry about it.

Best,

Vladimir

On Tue, Mar 17, 2009 at 10:03 PM, zoubir morsli <[log in to unmask]> wrote:
> Dear Dr. Vladimir Litvak,
> Many thanks for your quick information.
> Unfortunately i can not send you my data by E-mail, because the size is
> bigger than 25 MB.
>  I have tried the conversion using SPM8 but i got the following errors:
> ======Convert
> with Define settings? just read
> Warning: could not
> determine filetype of E:\Daten\kse02\C_RFHP0.1HZ
>> In fileio\private\filetype at
> 923
> In
> fileio\private\read_header at 359
> In
> fileio_read_header at 11
> In
> spm_eeg_convert at 73
> In
> spm_eeg_convert_ui at 81
> ???
> Error using ==> hastoolbox at 282
> the
> BIOSIG toolbox is not installed, see http://biosig.sourceforge.net
> Error
> in ==> read_header at 1267
> if strcmp(fallback, 'biosig') && hastoolbox('BIOSIG', 1)
> Error
> in ==> fileio_read_header at 11
> [varargout{1:nargout}] = funhandle(varargin{:});
> Error
> in ==> spm_eeg_convert at 73
> hdr = fileio_read_header(S.dataset,
> 'fallback', 'biosig');
> Error
> in ==> spm_eeg_convert_ui at 81
> D = spm_eeg_convert(S);
> ???
> Error while evaluating uicontrol Callback
>
> ===========Convert
> with Define settings?: yes
> How
> to read? : continuous
> Read
> everything? : yes
> Read
> across trial: no
> what
> channels?: all
> Warning: could not
> determine filetype of E:\Daten\kse02\C_RFHP0.1HZ
>> In fileio\private\filetype at
> 923
> In
> fileio\private\read_header at 359
> In
> fileio_read_header at 11
> In
> spm_eeg_channelselection at 33
> In
> spm_eeg_convert_ui at 68
> ???
> Error using ==> hastoolbox at 282
> the
> BIOSIG toolbox is not installed, see http://biosig.sourceforge.net
> Error
> in ==> read_header at 1267
> if strcmp(fallback, 'biosig') && hastoolbox('BIOSIG', 1)
> Error
> in ==> fileio_read_header at 11
> [varargout{1:nargout}] = funhandle(varargin{:});
> Error
> in ==> spm_eeg_channelselection at 33
> hdr = fileio_read_header(S.dataset,
> 'fallback', 'biosig');
> Error
> in ==> spm_eeg_convert_ui at 68
> S = spm_eeg_channelselection(S);
> ???
> Error while evaluating uicontrol Callback
>
> In regarding to epoching  i will be running it taking your advice and i will
> let you know about the results and thank you very much for your frindly help
>
> z morsly
> Dear Zoubir,
>
> On Sun, Mar 15, 2009 at 10:32 PM, zoubir morsli <[log in to unmask]>
> wrote:
>>   Dear Dr. Vladimir Litvak,
>> May i thank you very much for your friendly and precise answer. In fact i
>> tried to work with SPM8, but the conversion from continuous MEG data in
>> BTi
>> format (on biomagnetometer with  2*37 multichannels) to SPM8  files did
>> not
>> lead to an acceptable result.
>
> What was the problem exactly? We would be interested to fix any
> problems people find with conversion, especially for MEG data. So if
> you send me an example of your data and explain what the problem is
> I'll look at it.
>
>> I also  used the conversion  trying with pdf4D object code von Dr Eugene
>> and
>> pdf2spm8 von Dr. Rojas.But there remains still one problem for me: How to
>> create epochs with SPM8  for continuous MEG data from simultanious
>> electromyography EMG channel?
>
> There is no ready-made solution in SPM to do this, although there
> might be some code that can be used to make such a tool. You have two
> possibilities:
>
> 1) In SPM8 reviewing tool it is possible to add triggers by hand. You
> can just go over your file looking at the EMG channel and add triggers
> where necessary. You can then use these triggers for epoching. This is
> feasible if you don't have too many EMG activations. Let me know if
> you want to do this and I can give you more precise instructions.
>
> 2) You can do epoching using a trial definition file containing a
> matrix with trial borders and a cell array with condition names (more
> details in the manual). If you find a way to make such a matrix for
> your EMG events using any external tool or your own Matlab code, you
> can feed it to SPM. I know there is such a tool in BESA software.
> Other people on the list might also have something. My experience is
> that such code will probably not work 'out of the box' and will
> require some fine-tuning for your data.
>
> Best,
>
> Vladimir
>
>
>
>> Thank you very much for helping me.
>>                  Z  Morsly
>>
>> --- En date de : Mar 17.2.09, Vladimir Litvak <[log in to unmask]>
>> a
>> écrit :
>>
>> De: Vladimir Litvak <[log in to unmask]>
>> Objet: Re: conversion of continuous MEG data from the native 4D/BTi
>> formats
>> to SPM5 compatible files
>> À: [log in to unmask]
>> Date: Mardi 17 Février 2009, 18h33
>>
>> Dear Zoubir,
>>
>>
>> I'd suggest you to use SPM8b rather than SPM5 since for M/EEG data it
>> is more robust and easy to use.
>> You should make sure that you have an up-to-date version by first
>> downloading the original release from
>> http://www.fil.ion.ucl.ac.uk/spm/software/spm8b/ and then updating it
>> with the update file from
>> ftp://ftp.fil.ion.ucl.ac.uk/spm/spm8b_updates/
>>
>> You then should be able to convert your datasets by pressing the
>> 'Convert' button and choosing the raw data file (the biggest one).
>> Note that SPM8 is different in many ways from SPM5 so you should
>> follow the SPM8 manual that you can find in /man subdirectory
>> of SPM distribution.
>>
>> You can convert data as continuous or define epochs while converting.
>> Your MEG system sounds like something non-standard. I hope everything
>> will work well for you. Let me know if not.
>>
>> Best,
>>
>> Vladimir
>>
>> On Tue, Feb 17, 2009 at 5:26 PM, zoubir morsli <[log in to unmask]>
>> wrote:
>>> Dear Dr. Vladimir Litvak!
>>>
>>>   I have continuous MEG data for MEF (c,rfhpo.1Hz) on biomagnetometer
>>> with
>>> 2*37 multichannels.
>>>
>>> I have only simultaneous surface electromyography EMG Channel (muscle
>>> activity) without trigger file for MEG data epoching.
>>>
>>> It would be very kind of you if you could help me and answer the
>>> following
>>> questions:
>>>
>>> How should I manage the conversion of continuous MEG data  from the
>>> native
>>> 4D/BTi formats to SPM5 compatible files?
>>>
>>> Can the conversion happen without epoching or do I need epoching in any
>>> case?
>>>
>>>  Thank you very much for helping me.
>>>
>>>
>>>
>
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager