Skip to content

Conversation

@larsoner
Copy link
Member

This:

# -*- coding: utf-8 -*-
import os
import mne
sample_data_folder = mne.datasets.sample.data_path()
sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
                                    'sample_audvis_raw.fif')
raw = mne.io.read_raw_fif(sample_data_raw_file)
raw.plot_psd()
data_path = mne.datasets.brainstorm.bst_raw.data_path()
raw_path = (data_path + '/MEG/bst_raw/' +
            'subj001_somatosensory_20111109_01_AUX-f.ds')
raw = mne.io.read_raw_ctf(raw_path).load_data()
raw.plot_psd()

Goes from this on master:

Screenshot from 2020-07-10 13-02-49

To this:

Screenshot from 2020-07-10 13-03-17

@agramfort feel free to try it on mne-tools/mne-bids-pipeline#155

hoechenberger added a commit to agramfort/mne-bids-pipeline that referenced this pull request Jul 10, 2020
@hoechenberger
Copy link
Member

@larsoner This does indeed fix our issue with the study template!

@larsoner
Copy link
Member Author

I think you reintroduced a codestyle error I had fixed in master

@larsoner
Copy link
Member Author

Ahh never mind, guess the "for ext in exts" is okay

@hoechenberger hoechenberger merged commit ca3595f into mne-tools:master Jul 10, 2020
@hoechenberger
Copy link
Member

Thanks @larsoner!

hoechenberger added a commit to agramfort/mne-bids-pipeline that referenced this pull request Jul 10, 2020
@larsoner larsoner deleted the psd branch July 10, 2020 21:06
hoechenberger added a commit to mne-tools/mne-bids-pipeline that referenced this pull request Jul 10, 2020
* add psd to report for raw

* See if mne-tools/mne-python#7994 helps

* Revert "See if mne-tools/mne-python#7994 helps"

This reverts commit 565aef0.

Co-authored-by: Richard Höchenberger <richard.hoechenberger@gmail.com>
larsoner added a commit to larsoner/mne-python that referenced this pull request Jul 14, 2020
* upstream/master: (21 commits)
  MRG: Add SSP projectors to Report (mne-tools#7991)
  BUG: Fix warning (mne-tools#8006)
  WIP: TFR Doc/test changes (mne-tools#7998)
  MAINT: Remove numpydoc test on 3.6 (mne-tools#8005)
  MAINT: Better error message for mismatch (mne-tools#8007)
  MRG: Allow removal of active projectors if channels they applied to have meanwhile been dropped (mne-tools#8003)
  MRG Freesurfer coordinate frame tutorial (mne-tools#7578)
  FIX: Fix stockwell checks (mne-tools#7996)
  MRG, ENH: Add array-spacing plugin and reorganize deps (mne-tools#7997)
  MRG, ENH: Reduce memory usage of Welch PSD (mne-tools#7994)
  STY: One more [ci skip]
  STY: Docstyle [ci skip]
  Report parsing (mne-tools#7990)
  MRG, ENH: BrainVision impedance parsing (mne-tools#7974)
  BUG: Fix missing source space points (mne-tools#7988)
  [MRG] Strip base directory name from Report captions when using parse_folder (mne-tools#7986)
  DOC: Update estimates [skip travis] (mne-tools#7987)
  DOC: Try to improve find_bad_channels_maxwell doc (mne-tools#7982)
  VIZ, BUG: fix tickmarks in evoked topomap colorbar (mne-tools#7980)
  Add low-pass filter to find_bad_channels_maxwell() (mne-tools#7983)
  ...
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

Successfully merging this pull request may close these issues.

2 participants