initial commit

This commit is contained in:
2025-08-19 09:13:22 -07:00
parent 28464811d6
commit 0977a3e14d
820 changed files with 1003358 additions and 2 deletions

28
mne/commands/mne_what.py Normal file
View File

@@ -0,0 +1,28 @@
r"""Check type of FIF file.
Examples
--------
.. code-block:: console
$ mne what sample_audvis_raw.fif
raw
"""
# Authors: The MNE-Python contributors.
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
import mne
def run():
"""Run command."""
from mne.commands.utils import get_optparser
parser = get_optparser(__file__, usage="usage: %prog fname [fname2 ...]")
options, args = parser.parse_args()
for arg in args:
print(mne.what(arg))
mne.utils.run_command_if_main()