<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Alex,&nbsp;</p>
<p><br>
</p>
<p>I'm using the standard <span>mne.compute_covariance call</span></p>
<p><span><br>
</span></p>
<p><span>cov = mne.compute_covariance(epochs['condition'], method = 'shrunk', n_jobs = 3).</span></p>
<p><span><br>
</span></p>
<p><span>I've attached a link to the error below. Also, I've tried using the PCA method and get another error message (with the helpful suggestion to contact you guys at the end!). Please find the link below too.</span></p>
<p><span><br>
</span></p>
<p><span>Peter.</span></p>
<p><span><br>
</span></p>
<p><span>shrunk estimate:&nbsp;<a href="https://gist.github.com/orcasha/c990decc15f38a3300ffa6e2f976eb25" class="x_OWAAutoLink" id="LPlnk489393">https://gist.github.com/orcasha/c990decc15f38a3300ffa6e2f976eb25</a></span><br>
</p>
<p><br>
</p>
<p>PCA estimate:&nbsp;<a href="https://gist.github.com/orcasha/443bc7e74fd3e7e50a7ce1371b4bef31" class="x_OWAAutoLink" id="LPlnk515996">https://gist.github.com/orcasha/443bc7e74fd3e7e50a7ce1371b4bef31</a></p>
<br>
<p><br>
</p>
<div id="x_Signature">
<div class="x_BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="x_PlainText">_______________________<br>
Dr Peter Goodin, <br>
<br>
Brain and Psychological Sciences Research Centre (BPsyC)<br>
Swinburne University, <br>
Hawthorn, Vic, 3122</div>
</span></font></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> mne_analysis-bounces@nmr.mgh.harvard.edu &lt;mne_analysis-bounces@nmr.mgh.harvard.edu&gt; on behalf of Alexandre Gramfort &lt;alexandre.gramfort@telecom-paristech.fr&gt;<br>
<b>Sent:</b> 28 March 2017 21:00:42<br>
<b>To:</b> Discussion and support forum for the users of MNE Software<br>
<b>Subject:</b> Re: [Mne_analysis] Mne python compute covariance</font>
<div>&nbsp;</div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">hi Peter,<br>
<br>
can you share a gist to replicate the problem?<br>
<br>
I think I know what's going on but with a gist I am sure it fixes your pb.<br>
<br>
thx<br>
Alex<br>
<br>
On Tue, Mar 28, 2017 at 12:58 AM, Peter Goodin &lt;pgoodin@swin.edu.au&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I'm getting the following error<br>
&gt; (PicklingError: Can't pickle &lt;class 'mne.cov._ShrunkCovariance'&gt;: it's not<br>
&gt; found as mne.cov._ShrunkCovariance)<br>
&gt; when running computing covariance. It happens at the cross validation stage.<br>
&gt;<br>
&gt; Any help would be appreciated.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Peter<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________<br>
&gt; Dr Peter Goodin,<br>
&gt;<br>
&gt; Brain and Psychological Sciences Research Centre (BPsyC)<br>
&gt; Swinburne University,<br>
&gt; Hawthorn, Vic, 3122<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; Mne_analysis@nmr.mgh.harvard.edu<br>
&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the<br>
&gt; e-mail<br>
&gt; contains patient information, please contact the Partners Compliance<br>
&gt; HelpLine at<br>
&gt; <a href="http://www.partners.org/complianceline">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in<br>
&gt; error<br>
&gt; but does not contain patient information, please contact the sender and<br>
&gt; properly<br>
&gt; dispose of the e-mail.<br>
&gt;<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
Mne_analysis@nmr.mgh.harvard.edu<br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</div>
</span></font>
</body>
</html>