[Mne_analysis] CSP components selection

Alexandre Gramfort alexandre.gramfort at inria.fr
Thu Dec 19 04:16:34 EST 2019
Search archives:

        External Email - Use Caution        

hi,

setting N=4 should give you the first 2 and the last 2. Feature space
will then be 4 dimensional.

see how we do it here:

https://github.com/mne-tools/mne-python/blob/maint/0.19/mne/decoding/csp.py#L204

HTH
Alex

On Thu, Dec 19, 2019 at 7:53 AM Pramod Gaur <pramodgaur.iitkgp at gmail.com> wrote:
>
>         External Email - Use Caution
>
> Dear MNE team,
>
> We are trying to solve the left vs right motor imagery classification problem using MNE python for the first time. I have some experience of using CSP. Normally, if we give N=2, then we select the first two and last two spatial filters from the CSP matrix to create our feature vector. When we did the same thing in MNE python, it is only selecting the two components. Can you advise how to handle this?
>
> Best regards,
> Pramod
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



More information about the Mne_analysis mailing list