[Mne_analysis] Ica using picard
larson.eric.d at gmail.com
Thu Oct 3 11:37:32 EDT 2019
External Email - Use Caution
You should be able to `pip install python-picard` to get the `picard` ICA
package. If you used the `environment.yml` or `requirements.txt` from the
MNE repo to set up your env, it should have been included, though.
On Thu, Oct 3, 2019 at 11:28 AM Dirk van Moorselaar <
dirkvanmoorselaar at gmail.com> wrote:
> External Email - Use Caution
> I have updated mne to version 19. I am now playing around with ICA and I
> wanted to see how the Picard method would behave on my data. However, when
> I try to run this method using the following commands:
> ica = ICA(n_components=picks.size, method=method)
> # ica is fitted on epoched data (stored in self)
> ica.fit(self, picks=picks, decim=decim)
> I get a ModuleNotFoundError:
> in _fit(self, data, max_pca_components, fit_type)
> 678 **self.fit_params)
> 679 elif self.method == 'picard':
> --> 680 from picard import picard
> 681 _, W, _ = picard(data[:, sel].T, whiten=False,
> 682 random_state=random_state,
> ModuleNotFoundError: No module named 'picard'
> What am I doing wrong here or is something wrong with my installation?
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mne_analysis