Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use your pipeline in a CTF form data #65

Open
wobunengwang opened this issue Oct 12, 2020 · 1 comment
Open

How to use your pipeline in a CTF form data #65

wobunengwang opened this issue Oct 12, 2020 · 1 comment

Comments

@wobunengwang
Copy link

Dear author, thank you very much for your elaborate codes and guidelines.
(1) I used to use fieldtrip to preprocess and reconstruct my CTF form MEG data. But i found that your codes were all preprocessed with osl-core toolbox. I am very eager to know how to transform a fieldtrip preprocessing pipeline into a osl-based pipeline?
(2) I have tried many solutions and finally could extract time-series matrix from fieldtrip reconstructed data, could you tell me whether the different preprocessing and reconstruction steps could be suitable for your HMM models?

@AJQuinn
Copy link
Member

AJQuinn commented Oct 19, 2020

Hello - thanks for your interest in OSL.

  1. OSL uses a lot of SPM functions internally, so it should work with any data set that can be loaded into an SPM object.
    This tutorial gives an example of how to load a CTF .ds directory into an SPM object (often called 'D'). Once you have the D-object, then the other preprocessing tools should work as normal. Note that you might have to change the chantypes in some function calls to match the CTF channel types. This preprocessing tutorial then gives an overview of which preprocessing tools can be used with OSL. This would be a good place to start if translating an existing analysis from fieldtrip.

  2. We have a couple of example/recommended pipelines for HMM analyses. This paper (Quinn et al 2018) gives a detailed overview of preprocessing for HMM with accompanying code in OSL. This example script runs the full preprocessing and HMM analysis pipeline from this paper (Vidaurre et al 2018).

I'm sure you could do a similar preprocessing job in another toolbox such as fieldtrip, these papers and example scripts might be a good starting point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants