-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CircleCI update of dev docs (68903).
- Loading branch information
Circle CI
committed
Sep 25, 2024
1 parent
4a2f32f
commit 1034344
Showing
1,289 changed files
with
24,609 additions
and
23,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: ff4f6a21e2cfdd9a6b55becbf8a6e76a | ||
config: 5837a174cc5fa29a55182e5862a1229b | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/026dba7c40f82dd13c8dbe1e76d1c49b/eeg_on_scalp.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/02cf1be5b3ddec9678f6e2bdf213c3d8/10_background_freesurfer.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/0523d380061e932f7195a51f01a94325/decoding_csp_eeg.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/0578d334ebb8e8884400c31a495013af/multi_dipole_model.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/07dbd7ca99f60fd84f78f3bf43a9c430/20_cluster_1samp_spatiotemporal.zip
Binary file not shown.
Binary file modified
BIN
+2.66 KB
(100%)
dev/_downloads/07fcc19ba03226cd3d83d4e40ec44385/auto_examples_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/08ab668cce2b084c6559c3fb244a0041/80_fix_bem_in_blender.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/0912ee7392c410218f2eccf5ccd7e04d/15_handling_bad_channels.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/0d538b72403145478a5df61c17f8cea4/compute_csd.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/0e53926b5699aad5bcf0e97b3e711a2b/xdawn_denoising.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/0f9245932e4f57533dec69f2e23c7d31/dics_source_power.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/10aa8b85452e5902ece9bc1b9d3cb443/80_brainstorm_phantom_elekta.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/114052dc17a22b976328bfd7e3d8008e/epochs_metadata.zip
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/124c28fc1534f484880d98cb19fb3745/evoked_topomap.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/132ef04aec6eceaa644422bd14d914d0/30_strf.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/13cef42ecbb48b6558fafba87d6d5e15/compute_mne_inverse_raw_in_label.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/14b88083a9665fd7d197ec4da4909998/60_visualize_stc.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/15fcdfe6713b0de7e9193735fa8e3326/cluster_stats_evoked.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/176fb5f23743764e5e89c48310227efa/read_noise_covariance_matrix.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/18d97cd3fffa515d634eccf0fa7463d8/muscle_ica.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/1b0a24dc48056481602ceb47d3c51472/20_erp_stats.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/1f772df4c69aa646b7ab05ecd6973f9f/opm_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2062291ff333a21a58c4380a2e76608b/mne_cov_power.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/209129e1a4a0aaa0c44d0c33d04aab07/meg_sensors.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2101a37b001dcecde01881e3d2a03284/source_space_morphing.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/21beec4b998cf221479485310f05e95e/channel_epochs_image.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/22abda5cc6b6a4578a0bc676a8af240a/decoding_unsupervised_spatial_filter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/23bbc8f84db157bad91a26c97c9bb140/60_cluster_rmANOVA_spatiotemporal.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2491b116d19d4ff787e0124e44f99b97/70_cluster_rmANOVA_time_freq.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/24d7423f355eb7d2714470bf73ed699e/50_epochs_to_data_frame.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/24e558bbd075756b5991fdb479c8a6f9/roi_erpimage_by_rt.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/27527bed1920c1500e546cf408e7c9a9/40_artifact_correction_ica.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/280dcbe1e4f0d0cd0a74af7136b74080/read_xdf.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/298ce5c4785f3bdc910e7f44e7e4ef9c/10_array_objs.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/29f02e9894de010e2674b20ba137b35b/simulate_raw_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2b6b75dcc7ad69de9bee7902c97280c5/95_phantom_KIT.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2bed11730735963926f25198a73319a4/dics_epochs.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2dab62878555c7ee97836ae2ad20e63f/source_power_spectrum_opm.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2dbf04a8bcff70f4617098570490d94c/15_baseline_regression.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/2e0c8185be4ca365aea8dbac1b22a19d/find_ref_artifacts.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/31291a7e35d5e25958a9521e669396d8/temporal_whitening.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/3308649bf2a5fe41b018fb29ceb2aa75/20_visualize_epochs.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/33b783f59964f3b4ae1891b7c0bbe76e/topo_customized.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/33bffe2ab0070e7c72d43b2a215eb256/mixed_norm_inverse.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/3455a0b623abee20f14fd83522664424/movement_compensation.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/35041203343b7d3602af0b393782438e/80_opm_processing.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/367f0df4ad9566d5055182cd4cf45a43/forward_sensitivity_maps.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/36ad7dc3b76a79cadfd35e7d94d6c0f1/snr_estimate.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/380c9331b37396105eaf5c2ceaf2feb8/60_maxwell_filtering_sss.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/38a9fd088b9c6dc413b1c088b7d481fa/25_background_filtering.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/3a805b41afea57ebaea280d01cd2d200/source_power_spectrum.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/3b2f5a68e63624474f001b965478253b/20_rejecting_bad_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/3cb23ad4d9386d2c2afeaf65aa8fe447/psf_ctf_label_leakage.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/3ff7a67820dd24695ef8dd58e9ba098e/35_eeg_no_mri.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/40fb426f471d84efd14892632c39b36b/rap_music.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/42be32944415ebca28cf4e7dcd8fb0c9/source_simulator.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/4343cd20f9b87ff500be0312900e150d/30_epochs_metadata.zip
Binary file not shown.
68 changes: 68 additions & 0 deletions
68
dev/_downloads/437c08be932c64819097c787b767439e/read_impedances.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"\n\n# Getting impedances from raw files\n\nMany EEG systems provide impedance measurements for each channel within their file\nformat. MNE does not parse this information and does not store it in the\n:class:`~mne.io.Raw` object. However, it is possible to extract this information from\nthe raw data and store it in a separate data structure.\n\n## ANT Neuro\n\nThe ``.cnt`` file format from ANT Neuro stores impedance information in the form of\ntriggers. The function :func:`mne.io.read_raw_ant` reads this information and marks the\ntime-segment during which an impedance measurement was performed as\n:class:`~mne.Annotations` with the description set in the argument\n``impedance_annotation``. However, it doesn't extract the impedance values themselves.\nTo do so, use the function ``antio.parser.read_triggers``.\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"outputs": [], | ||
"source": [ | ||
"# Authors: The MNE-Python contributors.\n# License: BSD-3-Clause\n# Copyright the MNE-Python contributors.\n\nfrom antio import read_cnt\nfrom antio.parser import read_triggers\nfrom matplotlib import pyplot as plt\n\nfrom mne.datasets import testing\nfrom mne.io import read_raw_ant\nfrom mne.viz import plot_topomap\n\nfname = testing.data_path() / \"antio\" / \"CA_208\" / \"test_CA_208.cnt\"\ncnt = read_cnt(fname)\n_, _, _, impedances, _ = read_triggers(cnt)\n\nraw = read_raw_ant(fname, eog=r\"EOG\")\nimpedances = [{ch: imp[k] for k, ch in enumerate(raw.ch_names)} for imp in impedances]\nprint(impedances[0]) # impedances measurement at the beginning of the recording" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Note that the impedance measurement contains all channels, including the bipolar ones.\nWe can visualize the impedances on a topographic map; below we show a topography of\nimpedances before and after the recording for the EEG channels only.\n\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"outputs": [], | ||
"source": [ | ||
"raw.pick(\"eeg\").set_montage(\"standard_1020\")\nimpedances = [{ch: imp[ch] for ch in raw.ch_names} for imp in impedances]\n\nf, ax = plt.subplots(1, 2, layout=\"constrained\", figsize=(10, 5))\nf.suptitle(\"Impedances (kOhm)\")\nimpedance = list(impedances[0].values())\nplot_topomap(\n impedance,\n raw.info,\n vlim=(0, 50),\n axes=ax[0],\n show=False,\n names=[f\"{elt:.1f}\" for elt in impedance],\n)\nax[0].set_title(\"Impedances at the beginning of the recording\")\nimpedance = list(impedances[0].values())\nplot_topomap(\n impedance,\n raw.info,\n vlim=(0, 50),\n axes=ax[1],\n show=False,\n names=[f\"{elt:.1f}\" for elt in impedance],\n)\nax[1].set_title(\"Impedances at the end of the recording\")\nplt.show()" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"In this very short test file, the impedances are stable over time.\n\n" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.12.2" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 0 | ||
} |
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/443cff2d5593347b07e4980593f19c2d/35_artifact_correction_regression.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/44d49ad3cb0c4d433f1253ad7dce1143/sensor_regression.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/44dff2a6563cbb26d0eb5118a36af2b1/eog_regression.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/46897a1f2cad35269c25c685caac4f4b/vector_mne_solution.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/4726ce22836f018022970d7eff07f389/decoding_time_generalization_conditions.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/474890d44ae12ac810c7558a426bce47/time_frequency_global_field_power.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/47800e1594e578b313b738641a748c24/20_reading_eeg_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/4897de481d0bb1452c044609a71698cd/30_filtering_resampling.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/4a09f776e23171b4a3b6eef33b3d7712/topo_compare_conditions.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/4a63cbb104a9262aad434cc582453975/mne_helmet.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/4b971c508ae67cd8f7c494b209000e0e/10_overview.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/51d992e8b745a9058c2a7c3bf2b649c0/evoked_arrowmap.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/53e6100b0240035551268af697098d6d/decoding_spoc_CMC.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/55097430b88d390a6b239776031423ec/50_beamformer_lcmv.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/560ef534f446dd9235bb1aa4ac8f282c/ssp_projs_sensitivity_map.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/5683f2a10a6863030a88b895fe5c764e/custom_inverse_solver.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/5795c46f650fba4cbcbd07e5eb413b28/virtual_evoked.zip
Binary file not shown.
Binary file modified
BIN
+48 Bytes
(100%)
dev/_downloads/57deb5252b1365c26ca4199a4a06f363/70_reading_eyetracking_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/596a381ac96ec4f044bb1ab8e82bad55/80_dics.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/5a7e52a7b5eb82ccbd65e1214b187dc7/ssd_spatial_filters.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/5c13a45c3b4092575b84a50128fca878/20_ui_events.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/5d33befc0a58f5a5b3419bbeb5f0ff54/time_frequency_mixed_norm_inverse.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/5f2384a5946d8ae9c6c14d185aae966e/50_background_freesurfer_mne.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/5f8ba52125a71d50378e52e8cb82618d/20_dipole_fit.zip
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/60ba3b028785abe6fd484ae021b63d5c/fnirs_artifact_removal.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/62152ab20fd8d63fc5fed64297ee4263/movement_detection.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/62ee093f73573cd3cb1fe72491cb1ed0/limo_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/636a618dbc0e853354b02eef92b2d7c7/muscle_detection.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/639279e7d81335c7cb70d976dad85e03/20_visualize_evoked.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/63e40cd245936fc6422ba62b3dacbaac/20_seeg.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/63e466b899854b8be25e9993f2d9f60c/10_epochs_overview.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/655c51d7316fbf09ef9f911a46943e15/hf_sef_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/6c4ef611d2b59ccdfe13c1ba4751b38f/spm_faces_dataset.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/6cd0ffe11d30c991bb9a045b8eb4e351/30_ecog.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/6e1a2cc966e41410144ae5932e34b929/left_cerebellum_volume_source.zip
Binary file not shown.
Binary file modified
BIN
+3.78 KB
(100%)
dev/_downloads/6f1e7a639e0699d6164445b55e6c116d/auto_examples_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/70c92ee012b2292acc6dae39a2a1c45e/10_preprocessing_overview.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/72f25f2fff88a926f8709e077da6d6fa/linear_regression_raw.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/75719a543484bff32da47e6d15968988/40_cluster_1samp_time_freq.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/7aa1590c0dccad1b2519272aa08680ef/brainstorm_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/7cec4769b858251d50d7b7db08ee5a30/35_dipole_orientations.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/7df1d8b6c6fe57b2070ce6035dbb4acd/fdr_stats_evoked.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/7f5a68bdc5a4a1f6ddb72d87570ee8c6/25_automated_coreg.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/81b8c868f965605aed3400abfd59779d/15_inplace.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/851e6a19731141a3495fba7767e0154b/resolution_metrics.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/86758661b5628bd5f35c9de7c5306995/eog_artifact_histogram.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/87fddf690a12cb32a2194cc7818204a7/10_stc_class.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/8a8ef36f0c428fee7ec82ca0d9d037f4/60_sleep.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/8b3aca1c593106c282239aad5f609eb6/70_fnirs_processing.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/8d08133ebc4afb3bdd4e95e32746d6e7/60_make_fixed_length_epochs.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/8db284391c80471287201dddbdd2408f/compute_mne_inverse_epochs_in_label.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/8f0b0f3022bf0d445c48799b34dca68a/elekta_epochs.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/901aed8ac09a1724e9b5fe9bf7173af3/ems_filtering.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/90db2ae424fcb3ca9f975fae21b285ab/read_stc.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/939e6dc99d4701c30eaa374f4af3556b/40_sensor_locations.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/94b0ce99e951e0a4054205e52c1117ea/eeg_csd.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/94d2c56db4bc37a8f782d1fa7bab5818/59_head_positions.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9565bbe2fd79f1a68bd3d61e8608bd08/label_source_activations.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9660a6afc2c1924ba8815917dbcca13b/10_spectrum_class.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/96c6f80a6353f9c315a321cf7501b7bd/30_mne_dspm_loreta.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/96d701b09bb82d3c3f69f1b782dc2cb4/30_info.zip
Binary file not shown.
Binary file modified
BIN
+49 Bytes
(100%)
dev/_downloads/97a1de59bce682890841bb846e3dd09c/auto_tutorials_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/98285a03f68798b800e05aef8673050a/45_projectors_background.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/992f976be08e19a55b82ec1bedba9a95/trap_music.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/998fecd01b8dc40e5a0a2b6e7cb7bb98/read_inverse.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9a9ddf6a77d79ca418627cbfa9e6ba9a/gamma_map_inverse.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9af74dacff91606c4d8561e57ae315be/50_cluster_between_time_freq.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9bd3275236ed41c46691c8371e7f101d/psf_volume.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9c400a9ad0f623fd8ffbe22cd77189fe/resolution_metrics_eegmeg.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9d926c09d22dbc6a8ce76f826311cac9/decoding_rsa_sgskip.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9eee7535e59b04fee044e8bb3d43df11/10_publication_figure.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9f5962e4e7847290ea713bc659417920/label_from_stc.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/9fd107fa2e7700b103afce1f6a1b7860/40_whitened.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a0b4a7b06271d8d35c6dedb4cc45759d/eyetracking_plot_heatmap.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a1db93d30f15e73c045d0eddcd2ff19d/sensor_permutation_test.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a265f9c6412ca264f3d545eecac8a58a/ica_comparison.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a2785fe33f5c06903b1b747d241070e1/50_artifact_correction_ssp.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a2a5f967a10e8cbe35a176b7f004dbd8/psf_ctf_vertices.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a49333ad1710ef3163f779e98d61d1a0/parcellation.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a51c6760cbed7eb4e69a0cdba81fd9ea/eeg_bridging.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/a733cf4b597243249094dceee40b3364/evoked_ers_source_power.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/aa463128ca9650d5462e3316cb218d4a/20_sensors_time_frequency.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/ac0e56305ecddea6d7f2a75c90c090a3/70_point_spread.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/ac1b5ab27028a1cfec35d5db84957393/plot_stc_metrics.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/aea1b7b3918cf3b85f50638693d817a7/20_event_arrays.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/aebb5fb777b76f5d43a1ae5af38f0196/time_frequency_simulated.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/afb0a1d935d94ed6c2ca0eaed17f3824/10_reading_meg_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b0b03c09f0162b5769d3afcdbcb784a8/define_target_events.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b0fca6aebade32b5979a565743702275/compute_mne_inverse_volume.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b31000f4c7b60c719211ff8c3e467303/interpolate_bad_channels.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b340c70709c07008fa992d79b5bf64ff/20_source_alignment.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b381560b4337fcbad33598019cb17e30/montage_sgskip.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b632807081317815980afaed8a27ec79/90_compute_covariance.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b683e5ccf8a34f1ade5f767336ae65e8/source_space_snr.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b7d5455d1cb3d2c0f35442b6a2d69c5e/40_visualize_raw.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/b7db6aa5e45021ccb772886dd8cdc252/30_reading_fnirs_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/bbcf3526a5c67a532e6e7a7bd30c3d5a/shift_evoked.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/be08984a43dac17a885fbabd6e2e791f/multidict_reweighted_tfmxne.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/bfe07d29ea6b6f7f3192901f1200c35f/mixed_source_space_inverse.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/c2fc474b8cb8a142bcdd199cc06b9fa7/decoding_csp_timefreq.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/c32e4d0aeb2af68b77cf1e8aa6c050de/morph_volume_stc.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/c3a6b69b2600c8a8ab3860f91f9cefa9/50_configure_mne.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/c492c60347bc346da20a68dfef501976/10_evoked_overview.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/c8635ef41712efc0abb3dd06afc2f36a/30_annotate_raw.zip
Binary file not shown.
77 changes: 77 additions & 0 deletions
77
dev/_downloads/c8e0a5c54898db31ae8adfd86e797885/read_impedances.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
""" | ||
.. _ex-io-impedances: | ||
================================= | ||
Getting impedances from raw files | ||
================================= | ||
Many EEG systems provide impedance measurements for each channel within their file | ||
format. MNE does not parse this information and does not store it in the | ||
:class:`~mne.io.Raw` object. However, it is possible to extract this information from | ||
the raw data and store it in a separate data structure. | ||
ANT Neuro | ||
--------- | ||
The ``.cnt`` file format from ANT Neuro stores impedance information in the form of | ||
triggers. The function :func:`mne.io.read_raw_ant` reads this information and marks the | ||
time-segment during which an impedance measurement was performed as | ||
:class:`~mne.Annotations` with the description set in the argument | ||
``impedance_annotation``. However, it doesn't extract the impedance values themselves. | ||
To do so, use the function ``antio.parser.read_triggers``. | ||
""" | ||
|
||
# Authors: The MNE-Python contributors. | ||
# License: BSD-3-Clause | ||
# Copyright the MNE-Python contributors. | ||
|
||
from antio import read_cnt | ||
from antio.parser import read_triggers | ||
from matplotlib import pyplot as plt | ||
|
||
from mne.datasets import testing | ||
from mne.io import read_raw_ant | ||
from mne.viz import plot_topomap | ||
|
||
fname = testing.data_path() / "antio" / "CA_208" / "test_CA_208.cnt" | ||
cnt = read_cnt(fname) | ||
_, _, _, impedances, _ = read_triggers(cnt) | ||
|
||
raw = read_raw_ant(fname, eog=r"EOG") | ||
impedances = [{ch: imp[k] for k, ch in enumerate(raw.ch_names)} for imp in impedances] | ||
print(impedances[0]) # impedances measurement at the beginning of the recording | ||
|
||
# %% | ||
# Note that the impedance measurement contains all channels, including the bipolar ones. | ||
# We can visualize the impedances on a topographic map; below we show a topography of | ||
# impedances before and after the recording for the EEG channels only. | ||
|
||
raw.pick("eeg").set_montage("standard_1020") | ||
impedances = [{ch: imp[ch] for ch in raw.ch_names} for imp in impedances] | ||
|
||
f, ax = plt.subplots(1, 2, layout="constrained", figsize=(10, 5)) | ||
f.suptitle("Impedances (kOhm)") | ||
impedance = list(impedances[0].values()) | ||
plot_topomap( | ||
impedance, | ||
raw.info, | ||
vlim=(0, 50), | ||
axes=ax[0], | ||
show=False, | ||
names=[f"{elt:.1f}" for elt in impedance], | ||
) | ||
ax[0].set_title("Impedances at the beginning of the recording") | ||
impedance = list(impedances[0].values()) | ||
plot_topomap( | ||
impedance, | ||
raw.info, | ||
vlim=(0, 50), | ||
axes=ax[1], | ||
show=False, | ||
names=[f"{elt:.1f}" for elt in impedance], | ||
) | ||
ax[1].set_title("Impedances at the end of the recording") | ||
plt.show() | ||
|
||
# %% | ||
# In this very short test file, the impedances are stable over time. |
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/ca1f3566f6452d9e5c9480b99cc8d3d4/90_eyetracking_data.zip
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
dev/_downloads/cab7a090c4183ca69dc0cd84d3b04413/auto_tutorials_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/cacdb74acebe359bb1ec38819397fad1/decoding_xdawn_eeg.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/cc97d940303474f9ee3294372d5fa3a9/50_ssvep.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/cdc9dd6a2eb0f32c6d2909911013a792/label_activation_from_stc.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/d2ef0b5b135d5e728c772afe1cafca9c/time_frequency_erds.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/d30a91ba517d5e315734f7a12e783570/source_space_time_frequency.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/d423e9e79e3ba5cd59b8c423e490d41a/evoked_whitening.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/d4a2cfff747e7725ecb8da9bf18571d3/30_forward.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/d4cc4bb51f8a1a29dfeabb852a76e020/50_decoding.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/d8783573790a21b4985a1c47d5d2a331/psf_ctf_vertices_lcmv.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/da8d15ca623bb1baceef015604e2865c/85_brainstorm_phantom_ctf.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/dae8948ccb53a829378caccb7ca536d8/decoding_spatio_temporal_source.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/daf36e48eecea7ed5c170a68e84aa6f1/70_report.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/db711ebfc9b34cdf234139c8d9d52979/read_neo_format.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e2579b4bdfdbe6915c92b72b2577b8ad/55_setting_eeg_reference.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e2cdf7c887916c6fad2ad4cd2141ce92/3d_to_2d.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e2ffa0ee4b87efe526215d93997d3197/75_cluster_ftest_spatiotemporal.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e3dd832fcc773877e645aba827d4ca9d/morph_surface_stc.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e5cc078e4e48fa2090c4c58fef176074/40_mne_fixed_free.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e831e44b4a493e763f8f05bd7cee7c49/90_phantom_4DBTi.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e89b31b12e1882260dccbc54c4821c7a/compute_source_psd_epochs.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/e8d6e5a28125e1344e7b4893dee57ade/40_autogenerate_metadata.zip
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/ed2ca41ceb7785bad94d797b2914ee75/receptive_field_mtrf.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/eddc497515b6bf648fe0a89d4f2dfa52/30_eeg_erp.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/f020dce0b8e8470e02b8a79895c096d2/10_background_stats.zip
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/f4dd4198b202e0874374588c165125db/linear_model_patterns.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/f68fbcb55b7334890f1ba997bceddb63/20_events_from_raw.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/f73aaf7f3b6aba69a4b60bc7e81aca57/70_eeg_mri_coords.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/f7887217ece95296ce3134742ef09642/10_raw_overview.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/f8e83d30ff3b0daa56604ca31d85f150/kernel_phantom.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/fa109e3e00787004c7eafe36565ca422/simulate_evoked_data.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/fbeb23a574d8d851b044386c9972928d/simulated_raw_data_using_subject_anatomy.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/fc9b680ed94e32a242c1d8a54293bf4c/source_label_time_frequency.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/fdd2f0a1b6799960d63b1f08fb234a52/30_cluster_ftest_spatiotemporal.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/fe6c3409d3f8a432f75ee8ed61d991fb/60_ctf_bst_auditory.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
dev/_downloads/ffd48ebfc5f14c29f8eae352f7b36a79/contralateral_referencing.zip
Binary file not shown.
Oops, something went wrong.