Skip to content

Commit

Permalink
MAINT: Add copyright to the top of each file (mne-tools#12221)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Nov 17, 2023
1 parent 2efb77d commit 5897b81
Show file tree
Hide file tree
Showing 850 changed files with 1,371 additions and 126 deletions.
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

from datetime import datetime, timezone
import faulthandler
Expand Down
2 changes: 2 additions & 0 deletions doc/conftest.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
from mne.conftest import * # noqa
2 changes: 2 additions & 0 deletions doc/sphinxext/contrib_avatars.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
from pathlib import Path

from selenium import webdriver
Expand Down
2 changes: 2 additions & 0 deletions doc/sphinxext/flow_diagram.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
import os
from os import path as op

Expand Down
2 changes: 2 additions & 0 deletions doc/sphinxext/gen_commands.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
import glob
from importlib import import_module
import os
Expand Down
2 changes: 2 additions & 0 deletions doc/sphinxext/gen_names.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
import os
from os import path as op

Expand Down
2 changes: 2 additions & 0 deletions doc/sphinxext/gh_substitutions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
from docutils.nodes import reference
from docutils.parsers.rst.roles import set_classes

Expand Down
2 changes: 2 additions & 0 deletions doc/sphinxext/mne_substitutions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
from docutils import nodes
from docutils.parsers.rst import Directive
from docutils.statemachine import StringList
Expand Down
2 changes: 2 additions & 0 deletions doc/sphinxext/newcontrib_substitutions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
from docutils.nodes import reference, strong, target


Expand Down
2 changes: 2 additions & 0 deletions doc/sphinxext/unit_role.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
from docutils import nodes


Expand Down
1 change: 1 addition & 0 deletions examples/datasets/brainstorm_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Authors: Mainak Jas <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/hf_sef_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# Author: Jussi Nurminen ([email protected])
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
2 changes: 2 additions & 0 deletions examples/datasets/kernel_phantom.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
stimulated with 7 modules active (121 channels). Here we show some example traces.
"""

# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
import numpy as np

import mne
Expand Down
1 change: 1 addition & 0 deletions examples/datasets/limo_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
# Authors: Jose C. Garcia Alanis <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%
import matplotlib.pyplot as plt
Expand Down
2 changes: 2 additions & 0 deletions examples/datasets/opm_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
we demonstrate how to localize these custom OPM data in MNE.
"""

# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
# sphinx_gallery_thumbnail_number = 4

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/datasets/spm_faces_dataset_sgskip.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# Denis Engemann <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/decoding_csp_eeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Authors: Martin Billinger <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/decoding_csp_timefreq.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# Alexandre Gramfort <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/decoding_rsa_sgskip.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# Alexandre Gramfort <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/decoding_spatio_temporal_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# Eric Larson <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/decoding_spoc_CMC.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# Jean-Remi King <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%
import matplotlib.pyplot as plt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Denis Engemann <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/decoding_unsupervised_spatial_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Asish Panda <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/decoding_xdawn_eeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# Authors: Alexandre Barachant <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/ems_filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# Jean-Remi King <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/linear_model_patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# Jean-Remi King <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/decoding/receptive_field_mtrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# Nicolas Barascud <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%
# sphinx_gallery_thumbnail_number = 3
Expand Down
1 change: 1 addition & 0 deletions examples/decoding/ssd_spatial_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Author: Denis A. Engemann <[email protected]>
# Victoria Peterson <[email protected]>
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/forward/forward_sensitivity_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Author: Eric Larson <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/forward/left_cerebellum_volume_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# Author: Alan Leggitt <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/forward/source_space_morphing.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# Eric larson <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/compute_mne_inverse_epochs_in_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Author: Alexandre Gramfort <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/compute_mne_inverse_raw_in_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# Author: Alexandre Gramfort <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/compute_mne_inverse_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Author: Alexandre Gramfort <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
2 changes: 2 additions & 0 deletions examples/inverse/custom_inverse_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
in order to try out another inverse algorithm.
"""

# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
# %%

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/inverse/dics_epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Alex Rockhill <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

import numpy as np

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/dics_source_power.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# Stefan Appelhoff <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/evoked_ers_source_power.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Eric Larson <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/gamma_map_inverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Daniel Strohmeier <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/label_activation_from_stc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Author: Christian Brodbeck <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/label_from_stc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Author: Luke Bloy <[email protected]>
# Alex Gramfort <[email protected]>
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/label_source_activations.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Eric Larson <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/mixed_norm_inverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Daniel Strohmeier <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/mixed_source_space_inverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Author: Annalisa Pascarella <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/mne_cov_power.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# Luke Bloy <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/morph_surface_stc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# Author: Tommy Clausner <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%
import mne
Expand Down
1 change: 1 addition & 0 deletions examples/inverse/morph_volume_stc.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# Author: Tommy Clausner <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%
import os
Expand Down
1 change: 1 addition & 0 deletions examples/inverse/multi_dipole_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# Author: Marijn van Vliet <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

###############################################################################
# Importing everything and setting up the data paths for the MNE-Sample
Expand Down
1 change: 1 addition & 0 deletions examples/inverse/multidict_reweighted_tfmxne.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# Alexandre Gramfort <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/psf_ctf_label_leakage.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# Nicolas P. Rougier (graph code borrowed from his matplotlib gallery)
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/psf_ctf_vertices.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Alexandre Gramfort <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
1 change: 1 addition & 0 deletions examples/inverse/psf_ctf_vertices_lcmv.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# Author: Olaf Hauk <[email protected]>
#
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

# %%

Expand Down
Loading

0 comments on commit 5897b81

Please sign in to comment.