Skip to content

BUG: Fix bug with cHPI off - #11754

Merged
drammock merged 1 commit into
mne-tools:mainfrom
larsoner:snr
Jun 27, 2023
Merged

drammock merged 1 commit into
mne-tools:mainfrom
larsoner:snr

Conversation

@larsoner

Copy link
Copy Markdown
Member

If cHPI was off for part of the recording the estimation would fail. Now it puts in np.nan for the values, which should work correctly with plotting etc.

@larsoner larsoner added the backport-candidate on-merge: backport to maint/1.13 label Jun 27, 2023
@drammock
drammock merged commit 38ed574 into mne-tools:main Jun 27, 2023
drammock pushed a commit that referenced this pull request Jun 27, 2023
@drammock drammock added backported and removed backport-candidate on-merge: backport to maint/1.13 labels Jun 27, 2023
@drammock

Copy link
Copy Markdown
Member

backported

@larsoner
larsoner deleted the snr branch June 27, 2023 17:22
larsoner added a commit to larsoner/mne-python that referenced this pull request Dec 6, 2024
* upstream/main: (26 commits)
  MAINT: Better fix for deprecation (mne-tools#11789)
  udpate doc for 11786 (mne-tools#11787)
  MAINT: Ignore warning in example (mne-tools#11781)
  Keeping event names when combining channel on epochs objects (mne-tools#11786)
  DOC: Fix incorrect docs for annotate_movement [ci skip] (mne-tools#11779)
  Refresh eegbci code and docstrings (mne-tools#11783)
  DOC: EEG eye-tracking alignment tutorial (mne-tools#11770)
  [MRG] By-pass set_annotations when plotting ICA sources  (mne-tools#11766)
  add missing changelog from 11773 (mne-tools#11777)
  Fix eeglab.py, an error for read annotations in `RawEEGLab` (mne-tools#11773)
  [MRG] Use FIFF.FIFF_UNITM_NONE instead of 0 when adding a reference channel (mne-tools#11774)
  MAINT: Update for linkcheck [circle linkcheck] (mne-tools#11771)
  ENH: Interpolate blinks in eyetrack channels (mne-tools#11740)
  MAINT: Work around joblib bug (mne-tools#11765)
  Update manual install docs (mne-tools#11764)
  add logging message about which EOG channel used for blink detection (mne-tools#11757)
  DOC: Fix docs (mne-tools#11756)
  BUG: Fix bug with SNR calculation (mne-tools#11755)
  BUG: Fix bug with cHPI off (mne-tools#11754)
  Change color from annotation to red if name changes to "bad_" or "edge_" (mne-tools#11753)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants