<commit_before>"""
========================================
Plot custom topographies for MEG sensors
========================================

Here we will expose the `iter_topography` function that makes it
very easy to generate custom sensor topography plots.
Here we will plot the power spectrum of each channel on a topographic
layout plot.
"""

# Author: <NAME> <<EMAIL>>
#
# License: BSD (3-clause)

print(__doc__)

import numpy as np
import mne

from mne.viz import iter_topography
from mne.fixes import partial
from mne import fiff
from mne.time_frequency import compute_raw_psd

import matplotlib.pyplot as plt

from mne.datasets import sample
data_path = sample.data_path()
raw_fname = data_path + '/MEG/sample/sample_audvis_filt-0-40_raw.fif'<commit_msg>cosmits<commit_after>"""
========================================
Plot custom topographies for MEG sensors
========================================

This example exposes the `iter_topography` function that makes it
very easy to generate custom sensor topography plots.
Here we will plot the power spectrum of each channel on a topographic
layout.

"""

# Author: <NAME> <<EMAIL>>
#
# License: BSD (3-clause)

print(__doc__)

import numpy as np
import mne

from mne.viz import iter_topography
from mne.fixes import partial
from mne import fiff
from mne.time_frequency import compute_raw_psd

import matplotlib.pyplot as plt

from mne.datasets import sample
data_path = sample.data_path()
raw_fname = data_path + '/MEG/sample/sample_audvis_filt-0-40_raw.fif'
{'fraction_non_alphanumeric': 0.168310322156476, 'fraction_numerical': 0.005259697567389875, 'mean_word_length': 5.794642857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5809373', 'n_tokens_mistral': 459, 'n_tokens_neox': 444, 'n_words': 161}