Skip to content

DOC: use bibtex in plot_sleep - #9044

Merged
larsoner merged 3 commits into
mne-tools:mainfrom
HanBnrd:bibtex-plot-sleep
Mar 15, 2021
Merged

larsoner merged 3 commits into
mne-tools:mainfrom
HanBnrd:bibtex-plot-sleep

Conversation

@HanBnrd

@HanBnrd HanBnrd commented Mar 15, 2021

Copy link
Copy Markdown

Reference issue

Closes #8942.

What does this implement/fix?

Added bibtex referencing format to plot_sleep.

@HanBnrd

HanBnrd commented Mar 15, 2021 •

Copy link
Copy Markdown
Author

Hi @hoechenberger, should I create a changefile entry for this kind of bibtex modification?

@drammock

Copy link
Copy Markdown
Member

changelog entry is not needed for small documentation tweaks usually.

@drammock drammock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, you can stack multiple references within one footcite by separating with commas

Comment thread tutorials/sample-datasets/plot_sleep.py Resolved
Comment thread tutorials/sample-datasets/plot_sleep.py Resolved
@drammock

Copy link
Copy Markdown
Member

haha, oops, I broke your PR! I think maybe you can't start a line with :footcite:

Comment thread tutorials/sample-datasets/plot_sleep.py Resolved
Co-authored-by: Richard Höchenberger <[email protected]>

@larsoner larsoner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On main I see:

$ git grep Goldbe
doc/overview/datasets_index.rst:available at PhysioNet :footcite:`GoldbergerEtAl2000`. The dataset contains
doc/overview/datasets_index.rst:data please cite :footcite:`KempEtAl2000` and :footcite:`GoldbergerEtAl2000`.
doc/references.bib:@article{GoldbergerEtAl2000,
doc/references.bib:  author = {Goldberger, Ary L. and Amaral, Luis A. N. and Glass, Leon and Hausdorff, Jeffrey M. and Ivanov, Plamen Ch. and Mark, Roger G. and Mietus, Joseph E. and Moody, George B. and Peng, Chung-Kang and Stanley, H. Eugene},
examples/decoding/plot_decoding_csp_eeg.py::footcite:`GoldbergerEtAl2000`.
mne/datasets/eegbci/eegbci.py:    .. [2] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh,
mne/datasets/eegbci/eegbci.py:    .. [2] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh,
mne/datasets/sleep_physionet/_utils.py:    .. [2] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh,
mne/datasets/sleep_physionet/age.py:    .. [2] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh,
mne/datasets/sleep_physionet/temazepam.py:    .. [2] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh,
tutorials/preprocessing/plot_40_artifact_correction_ica.py:# .. [6] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG,
tutorials/sample-datasets/plot_sleep.py:# .. [2] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh,

Do you want to try replacing the others, too? If not I'm happy to merge this as-is and we can fix the others in another PR.

@HanBnrd

HanBnrd commented Mar 15, 2021

Copy link
Copy Markdown
Author

Hi @larsoner, I think they've been left to separate issues for other participants of the code sprint to have easy first PRs. But I can do the other files if you want, let me know :)

@larsoner

Copy link
Copy Markdown
Member

Ahh makes sense, in it goes. Thanks @HanBnrd !

@larsoner
larsoner merged commit 0d8a7b0 into mne-tools:main Mar 15, 2021
@HanBnrd
HanBnrd deleted the bibtex-plot-sleep branch March 15, 2021 15:55
larsoner added a commit to vagechirkov/mne-python that referenced this pull request Mar 15, 2021
* upstream/main:
  DOC: use bibtex in plot_sleep (mne-tools#9044)
  FIX: fix sideways helmet plot (mne-tools#9059)
  FIX: bibtex mne-tools#8933 (mne-tools#9047)
  Fix bibtex citation issue mne-tools#8929. (mne-tools#9051)
  bibtex fix plot_time_frequency_global_field_power (mne-tools#9052)
  Fixed bibtex references in plot_background_statistics (mne-tools#9046)
  Bibtex raw py (mne-tools#9048)
  DOC update footcite maxwell.py (mne-tools#9043)
  update footcite [skip github] [skip azp] (mne-tools#9054)
  Adding bibtex in plot_otp (mne-tools#9049)
larsoner added a commit to vpeterson/mne-python that referenced this pull request Mar 15, 2021
* upstream/main: (135 commits)
  DOC: use bibtex in plot_source_power_spectrum_opm.py (mne-tools#8906) (mne-tools#9050)
  DOC: use bibtex in plot_sleep (mne-tools#9044)
  FIX: fix sideways helmet plot (mne-tools#9059)
  FIX: bibtex mne-tools#8933 (mne-tools#9047)
  Fix bibtex citation issue mne-tools#8929. (mne-tools#9051)
  bibtex fix plot_time_frequency_global_field_power (mne-tools#9052)
  Fixed bibtex references in plot_background_statistics (mne-tools#9046)
  Bibtex raw py (mne-tools#9048)
  DOC update footcite maxwell.py (mne-tools#9043)
  update footcite [skip github] [skip azp] (mne-tools#9054)
  Adding bibtex in plot_otp (mne-tools#9049)
  fix bibtex plot_evoked_whitening (mne-tools#9042)
  MAINT: Link earlier [skip github] [skip azp] (mne-tools#9041)
  DOC: convert references in plot_parcellation to use footcite (mne-tools#9032)
  MAINT: Fix circle (mne-tools#9039)
  ENH: Allow adding custom JavaScript to Report (mne-tools#9037)
  MRG, DOC: Bump theme version (mne-tools#9036)
  MAINT: Simplify expression (followup to mne-tools#9015) (mne-tools#9035)
  MRG, MAINT: Cleaner split, fewer skips in _brain tests (mne-tools#9029)
  MRG, ENH: viz.plot_drop_log() gains special-handling for subject=None (mne-tools#9015)
  ...
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.

use bibtex in plot_sleep.py

4 participants