You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: development/project/tutorial_documentation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Topic
43
43
## How to build a forward model in FieldTrip
44
44
45
45
Differences emerge for the various neural recording techniques on how to build a forward model and this is due to technical and physiological reasons. Accordingly a series of models have been devised, which are recording-specific and will be explained here.
46
-
One of the most important differences across methods takes into account the modeling of the volume conductor, which can be considered having different geometries (see also [different conductor models](/example/make_leadfields_using_different_headmodels)). In order to build a forward model though, several steps are needed, among which the construction of conductor geometry, but also the source modeling and the estimation of physical parameters like i.e. conductivity. The next paragraph explains in details the steps to be executed in FieldTrip.
46
+
One of the most important differences across methods takes into account the modeling of the volume conductor, which can be considered having different geometries (see also [different conductor models](/example/headmodel_various)). In order to build a forward model though, several steps are needed, among which the construction of conductor geometry, but also the source modeling and the estimation of physical parameters like i.e. conductivity. The next paragraph explains in details the steps to be executed in FieldTrip.
47
47
48
48
Check also 'The Forward model and Lead Field matrix' in [HERE](/tutorial/beamformer) (MEG specific way to do that)
Copy file name to clipboardExpand all lines: example.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,14 @@ See also the [tutorials](/tutorial) and [frequently asked questions](/faq).
13
13
14
14
## Reading and preprocessing data
15
15
16
-
-[Getting started with reading raw EEG or MEG data](/example/preproc/getting_started_with_reading_raw_eeg_or_meg_data)
16
+
-[Getting started with reading raw EEG or MEG data](/example/preproc/raw_meeg)
17
17
-[Making your own trialfun for conditional trial definition](/example/preproc/trialfun)
18
-
-[Detect the muscle activity in an EMG channel and use that as trial definition](/example/preproc/detect_the_muscle_activity_in_an_emg_channel_and_use_that_as_trial_definition)
18
+
-[Detect the muscle activity in an EMG channel and use that as trial definition](/example/preproc/trialdef_emg)
19
+
-[Determine the filter characteristics](/example/preproc/filter_characteristics)
19
20
-[Independent component analysis (ICA) to remove ECG artifacts](/example/preproc/ica_ecg)
20
21
-[Independent component analysis (ICA) to remove EOG artifacts](/example/preproc/ica_eog)
21
22
-[Combine MEG with Eyelink eyetracker data](/example/preproc/meg_eyelink)
22
-
-[Use denoising source separation (DSS) to remove ECG artifacts](/example/preproc/use_denoising_source_separation_dss_to_remove_ecg_artifacts)
23
+
-[Use denoising source separation (DSS) to remove ECG artifacts](/example/preproc/dss_ecg)
23
24
-[Fixing a missing sensor](/example/preproc/fixing_a_missing_sensor)
24
25
-[Rereference EEG and iEEG data](/example/preproc/rereference)
25
26
@@ -34,55 +35,54 @@ See also the [tutorials](/tutorial) and [frequently asked questions](/faq).
34
35
## Spectral analysis
35
36
36
37
-[Analysis of high-gamma band signals in human ECoG](/example/spectral/ecog_ny)
-[Fitting oscillations and one-over-F (FOOOF)](/example/spectral/fooof)
46
-
-[Conditional Granger causality in the frequency domain](/example/spectral/connectivity_conditional_granger)
46
+
-[Conditional Granger causality in the frequency domain](/example/spectral/granger_conditional)
47
47
-[Interpolate the time axis of single-trial TFRs](/example/spectral/tfr_interpolatetime)
48
48
49
49
## Source reconstruction
50
50
51
51
-[Align EEG electrode positions to BEM headmodel](/example/source/electrodes2bem)
52
52
-[Check the quality of the anatomical coregistration](/example/source/coregistration_quality_control)
53
-
-[Combined EEG and MEG source reconstruction](/example/source/combined_eeg_and_meg_source_reconstruction)
54
-
-[Common filters in beamforming](/example/source/common_filters_in_beamforming)
53
+
-[Combined EEG and MEG source reconstruction](/example/source/sourcerecon_meeg)
54
+
-[Common filters in beamforming](/example/source/beamformer_commonfilter)
55
55
-[Compute EEG leadfields using a concentric spheres headmodel](/example/source/concentricspheres)
56
56
-[Compute EEG leadfields using a BEM headmodel](/example/source/bem)
57
57
-[Compute EEG leadfields using a FEM headmodel](/example/source/fem)
58
58
-[Create a template source model aligned to MNI space](/example/source/sourcemodel_mnitemplate)
59
-
-[Compute forward simulated data and apply a beamformer scan](/example/source/compute_forward_simulated_data_and_apply_a_beamformer_scan)
60
-
-[Compute forward simulated data and apply a dipole fit](/example/source/compute_forward_simulated_data_and_apply_a_dipole_fit)
61
-
-[Compute forward simulated data using ft_dipolesimulation](/example/source/compute_forward_simulated_data)
59
+
-[Compute forward simulated data and apply a beamformer scan](/example/source/simulateddata_beamformer)
60
+
-[Compute forward simulated data and apply a dipole fit](/example/source/simulateddata_dipolefit)
61
+
-[Compute forward simulated data using ft_dipolesimulation](/example/source/simulateddata)
62
62
-[Compute forward simulated data with the low-level ft_compute_leadfield](/example/source/compute_leadfield)
63
63
-[Create MNI-aligned grids in individual head-space](/example/source/sourcemodel_aligned2mni)
64
64
-[Fit a dipole to the tactile ERF after mechanical stimulation](/example/source/dipolefit_somatosensory_erf)
65
65
-[How to create a head model if you do not have an individual MRI](/example/source/fittemplate)
66
66
-[Localizing the sources underlying the difference in event-related fields](/example/source/difference_erf)
67
-
-[Make MEG leadfields using different headmodels](/example/source/make_leadfields_using_different_headmodels)
68
-
-[Read neuromag .fif mri and create a MNI-aligned single-shell head model](/example/source/neuromag_aligned2mni)
67
+
-[Make MEG leadfields using different headmodels](/example/source/headmodel_various)
68
+
-[Read Neuromag .fif mri and create a MNI-aligned single-shell head model](/example/source/neuromag_aligned2mni)
69
69
-[Symmetric dipole pairs for beamforming](/example/source/symmetry)
70
-
-[Testing BEM created lead fields](/example/source/testing_bem_created_leadfields)
71
-
-[Use your own forward leadfield model in an inverse beamformer computation](/example/source/use_your_own_forward_leadfield_model_in_an_inverse_beamformer_computation)
70
+
-[Testing BEM created lead fields](/example/source/bem_evaluation)
71
+
-[Use your own forward leadfield model in an inverse beamformer computation](/example/source/beamformer_ownforward)
72
72
73
73
## Statistical analysis
74
74
75
-
-[Apply non-parametric statistics with clustering on TFRs of power that were computed with BESA](/example/stats/apply_clusterrandanalysis_on_tfrs_of_power_that_were_computed_with_besa)
75
+
-[Apply non-parametric statistics with clustering on TFRs of power that were computed with BESA](/example/stats/stats_besa)
76
76
-[Computing and reporting the effect size](/example/stats/effectsize)
77
77
-[Defining electrodes as neighbours for cluster-level statistics](/example/stats/neighbours)
-[Example real-time signal viewer](/example/realtime/ft_realtime_signalviewer)
94
-
-[Measuring the timing delay and jitter for a real-time application](/example/realtime/measuring_the_timing_delay_and_jitter_for_a_real-time_application)
94
+
-[Measuring the timing delay and jitter for a real-time application](/example/realtime/realtime_evaluation)
95
95
-[Realtime neurofeedback application based on Hilbert phase estimation](/example/realtime/ft_realtime_hilbert)
96
96
97
97
## Plotting and visualization
@@ -117,9 +117,9 @@ See also the [tutorials](/tutorial) and [frequently asked questions](/faq).
117
117
-[Making your analysis pipeline reproducible using reproducescript](/example/other/reproducescript)
118
118
-[Using reproducescript for a group analysis](/example/other/reproducescript_group)
119
119
-[Using reproducescript on a full study](/example/other/reproducescript_andersen)
120
-
-[Correlation analysis of fMRI data](/example/other/correlation_analysis_in_fmri_data)
120
+
-[Correlation analysis of fMRI data](/example/other/fmri_correlationanalysis)
121
121
-[Example analysis pipeline for BioSemi bdf data](/example/other/biosemi)
122
122
-[Find the orientation of planar gradiometer channels](/example/other/planar_orientation)
123
123
-[How to import data from MNE-Python and FreeSurfer](/example/other/import_mne)
124
124
-[How to use ft_checkconfig](/example/other/checkconfig)
125
-
-[Perform modified Multiscale Entropy (mMSE) analysis on EEG/MEG/LFP data](/example/other/entropy_analysis)
125
+
-[Perform modified multiscale entropy (mMSE) analysis on EEG/MEG/LFP data](/example/other/entropy_analysis)
Copy file name to clipboardExpand all lines: example/other/entropy_analysis.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: Perform modified Multiscale Entropy (mMSE) analysis on EEG/MEG/LFP data
2
+
title: Perform modified multiscale entropy (mMSE) analysis on EEG/MEG/LFP data
3
3
category: example
4
4
tags: [entropy]
5
5
redirect_from:
6
6
- /example/entropy_analysis/
7
7
---
8
8
9
-
# Perform modified Multiscale Entropy (mMSE) analysis on EEG/MEG/LFP data
9
+
# Perform modified multiscale entropy (mMSE) analysis on EEG/MEG/LFP data
10
10
11
11
Recently, we have developed a novel algorithm based on multiscale entropy (**[Costa et al. 2002](https://doi.org/10.1103/PhysRevLett.89.068102.m)**) called modified multiscale entropy (mMSE) that directly quantifies the temporal irregularity of time-domain EEG/MEG/LFP signals at longer and shorter timescales. In general, patterns of fluctuations in brain activity that tend to repeat over time are assigned lower entropy, whereas more irregular, non-repeating patterns yield higher entropy. To allow the investigation of dynamic changes in signal irregularity, we developed mMSE as a time-resolved variant, while also permitting assessment of entropy over atypically longer time scales by calculating across discontinuous, concatenated segments (**[Grandy et al.](https://doi.org/10.1038/srep23073.m)**) (see the figure below).
Copy file name to clipboardExpand all lines: example/preproc/dss_ecg.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,10 @@ redirect_from:
13
13
14
14
This script demonstrates how you can use denoising source separation (DSS) for cleaning the ECG/BCG artifacts from your MEEG data. It consists of four steps:
15
15
16
-
1.detection of QRS-complexes using the ECG channel, which has been recorded along with the data
17
-
2.use the identified peaks as prior information to inform the DSS algorithm to unmix the MEEG channel data
18
-
2. selection of a number of components to remove from MEEG data
19
-
3. removal of the identified components
16
+
1. detection of QRS-complexes using the ECG channel, which has been recorded along with the data
17
+
2. use the identified peaks as prior information to inform the DSS algorithm to unmix the MEEG channel data
18
+
3. selection of a number of components to remove from MEEG data
19
+
4. removal of the identified components
20
20
21
21
DSS is a blind source separation technique that is akin to ICA, with the added functionality of that it can use prior information to unmix the signals into sources that have certain characteristics. While in ICA the defining characteristic of the sources is statistical independence, in DSS one can for instance steer the unmixing towards the identification of sources that are timelocked to certain events. This is the exact feature that we are going to exploit in this example, because it shows how to remove the ECG artifact, using information about the timing of the QRS-complexes. What is therefore needed, is a sufficiently clean ECG-like signal to begin with, to allow for the identification of those peaks. This will be done, using the **[ft_artifact_zvalue](/reference/ft_artifact_zvalue)** function. Next, the output of **[ft_artifact_zvalue](/reference/ft_artifact_zvalue)** will be used to call **[ft_componentanalysis](/reference/ft_componentanalysis)** with 'dss' as method.
Copy file name to clipboardExpand all lines: example/source/neuromag_aligned2mni.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: Read neuromag .fif mri and create a MNI-aligned single-shell head model
2
+
title: Read Neuromag .fif mri and create a MNI-aligned single-shell head model
3
3
category: example
4
4
tags: [meg, mri, headmodel]
5
5
redirect_from:
6
6
- /example/neuromag_aligned2mni/
7
7
---
8
8
9
-
# Read neuromag .fif mri and create a MNI-aligned single-shell head model
9
+
# Read Neuromag .fif mri and create a MNI-aligned single-shell head model
10
10
11
11
{% include markup/red %}
12
12
The below example code is hopelessly outdated (thus deprecated) and will probably not work anymore. This page is kept in place just for reference. If you ended up on this page because you are curious to learn about the creation of dipole grids from .fif MRI, please look at [this](/example/sourcemodel_aligned2mni) example script.
@@ -56,7 +56,7 @@ This example script is derived from the example script [Create MNI-aligned grids
56
56
[segmentedmri] = ft_volumesegment(cfg, mri_real)
57
57
58
58
% check how it looks; does the segmented mri fit into the mri? Probably not
59
-
% because of neuromag coordinates (x and y are swapped) and a bug in volume
59
+
% because of Neuromag coordinates (x and y are swapped) and a bug in volume
IRASA allows distinguishing rhythmic activity from concurrent power-spectral 1/f modulations. The technique virtually compresses and expands the time-domain data with a set of non-integer resampling factors prior to Fourier-based spectral decomposition. As a result, rhythmic components in the power-spectrum are redistributed while the arrhythmic 1/f distribution is left intact. Taking the median of the resulting auto-spectral distributions extracts the power-spectral 1/f component, and the subsequent removal of the 1/f component from the original power-spectrum offers a power-spectral estimate of rhythmic content in the recorded signal.
12
12
Below we provide two examples, a simulated dataset and a real human ECoG dataset [(Stolk et al. 2019)](https://elifesciences.org/articles/48065), including how to extract spectral features based on [the IRASA technique (Wen & Liu, 2016)](https://link.springer.com/article/10.1007/s10548-015-0448-0).
0 commit comments