<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">Thanks for your reply. <div><br></div><div>Best regards,</div><div>Pramod </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 19, 2019 at 2:47 PM Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@inria.fr">alexandre.gramfort@inria.fr</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">        External Email - Use Caution        <br>
<br>
hi,<br>
<br>
setting N=4 should give you the first 2 and the last 2. Feature space<br>
will then be 4 dimensional.<br>
<br>
see how we do it here:<br>
<br>
<a href="https://github.com/mne-tools/mne-python/blob/maint/0.19/mne/decoding/csp.py#L204" rel="noreferrer" target="_blank">https://github.com/mne-tools/mne-python/blob/maint/0.19/mne/decoding/csp.py#L204</a><br>
<br>
HTH<br>
Alex<br>
<br>
On Thu, Dec 19, 2019 at 7:53 AM Pramod Gaur &lt;<a href="mailto:pramodgaur.iitkgp@gmail.com" target="_blank">pramodgaur.iitkgp@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;         External Email - Use Caution<br>
&gt;<br>
&gt; Dear MNE team,<br>
&gt;<br>
&gt; 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?<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Pramod<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</blockquote></div>