Skip to content

Commit

Permalink
spellfixes (fieldtrip#766)
Browse files Browse the repository at this point in the history
* spellfixes

* typos caught by spellcheck
  • Loading branch information
schoffelen authored Feb 8, 2024
1 parent bab1d0b commit b4b57c7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions assets/wordlist-ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ Gio
Girgis
Gitlab
Glessner
Gligorijevic
Glioma
Globus
Glowacki
Expand All @@ -741,6 +742,7 @@ Granger
Gratton
Grefkes
Gregoriou
GRK
Groesbeek
Groppe
Groupwise
Expand Down Expand Up @@ -1594,6 +1596,7 @@ ROIs
RPA
RPF
RSP
RTG
RTH
RW
Radboud
Expand Down Expand Up @@ -1936,6 +1939,7 @@ UPPT
UPTT
URI
USBamp
USD
UTF
UX
Uddén
Expand Down Expand Up @@ -2103,6 +2107,7 @@ Yuchtman
YutaMouse
ZBwh
ZI
Zebris
Zeitler
Zenodo
Zhang
Expand Down Expand Up @@ -2233,6 +2238,7 @@ asa
asaproxy
asc
ascii
asion
asm
asround
assignin
Expand Down Expand Up @@ -2640,6 +2646,7 @@ coreg
coregis
coregister
coregistered
coregistering
coregistrate
coregistration
coregistring
Expand Down Expand Up @@ -2945,6 +2952,7 @@ effector
effectsize
efontsize
efsize
eft
eg
egi
egis
Expand Down Expand Up @@ -3068,6 +3076,7 @@ fSeqCheck
fT
fUw
fabiobaselice
facehelmet
facto
familar
faq
Expand Down Expand Up @@ -3352,6 +3361,7 @@ hd
hdEEG
hdm
hdr
headcasts
headcoil
headcoils
headcolor
Expand Down Expand Up @@ -4042,6 +4052,7 @@ neurophysiologists
neurophysiology
neuropil
neuroscan
neurosciences
neuroscientific
neuroscientist
neuroscientists
Expand Down Expand Up @@ -4094,6 +4105,7 @@ normalisevolume
normalizations
normals
nosym
notaligned
notchfilter
noticable
notrials
Expand Down Expand Up @@ -4536,6 +4548,7 @@ retag
rethrow
retinotopic
retriangulation
revolutionise
rfDC
rfXXXX
rfhp
Expand Down Expand Up @@ -4729,6 +4742,7 @@ sortable
sortdate
sortindex
sortlist
sosoaligned
soundcard
sourcanalysis
sourcePost
Expand Down Expand Up @@ -5146,6 +5160,7 @@ uperior
upfirdn
upsample
upscaled
upsideup
usalzburg
usb
useable
Expand Down
10 changes: 5 additions & 5 deletions tutorial/coregistration_opm.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ _Figure: OPM sensor locations are in register with the Polhemus headshape._

## Coregistration using head localizer coils

Conventional SQUID MEG systems commonly head localization coils, which are also known as head position indicator (HPI) coils. All SQUID systems are based on certain number of sensors (e.g., 275 or 306) that are placed in a fixed-size helmet to accomodate most participants. Unless when using [custom headcasts](Barnes paper), the SQUID MEG helmet gives the subject a few cm of space around the head. The heads of different participants are therefore not in the same position, and also for an individual participant the position of the head in the helmet will differ between sessions, and can even vary a bit within a session.
Conventional SQUID MEG systems commonly head localization coils, which are also known as head position indicator (HPI) coils. All SQUID systems are based on certain number of sensors (e.g., 275 or 306) that are placed in a fixed-size helmet to accommodate most participants. Unless when using [custom headcasts](Barnes paper), the SQUID MEG helmet gives the subject a few cm of space around the head. The heads of different participants are therefore not in the same position, and also for an individual participant the position of the head in the helmet will differ between sessions, and can even vary a bit within a session.

To localize the head relative to the SQUID MEG helmet, HPI coils are placed on the head - often on well-defined [anatomical landmarks](/faq/xxx) - and the coils are energized to create small magnetic dipoles at the start of the recording session. Sometimes the localization is repeated at the end of the recording session, and sometimes the localization is done continuously. These magnetic dipoles can be localized, thereby determining the position of the sensors relative to the anatomical landmarks. All commercial SQUID MEG systems have a standard procedure for this that is well-integrated in the acquisition protocol and software, consequently the MEG recordings stored by the acquisition software include the sensor positions in [head coordinates](/faq/coordsys).

Expand All @@ -156,7 +156,7 @@ The dataset used here is a 32-channel dataset, with the OPM-sensors distributed

This part exists of the following steps:
- Processing of the data to highlight the contribution of the individual HPI coils to the measured signals, using **[ft_preprocessing](/reference/ft_preprocessing)**, and **[ft_selectdata](/reference/ft_selectdata)**. To evaluate the spectrum of the signals, we will use **[ft_freqanalysis](/reference/ft_freqanalysis)**.
- Fitting of dipoles to the topographies of the first principal components of the bandpass filtered data, using **[ft_componentanalysis](/reference/ft_componentanalysis)**, and **[ft_dipolefitting](/reference/ft_dipolefitting)**. For visualization of the spatial topogrphies, we use **[ft_topoplotIC](/reference/ft_topoplotic)**, and for the dipole fit we start with a grid search, and we use **[ft_prepare_sourcemodel](/reference/ft_prepare_sourcemodel)** to create the search grid.
- Fitting of dipoles to the topographies of the first principal components of the bandpass filtered data, using **[ft_componentanalysis](/reference/ft_componentanalysis)**, and **[ft_dipolefitting](/reference/ft_dipolefitting)**. For visualization of the spatial topographies, we use **[ft_topoplotIC](/reference/ft_topoplotic)**, and for the dipole fit we start with a grid search, and we use **[ft_prepare_sourcemodel](/reference/ft_prepare_sourcemodel)** to create the search grid.
- Calculation of the transformation matrix that moves the sensors to the head-based coordinate system, using **[ft_headcoordinates](/reference/ft_headcoordinates)**.
- Apply the transformation matrix to the sensors, using **[ft_transform_geometry](/reference/ft_transform_geometry)**.

Expand Down Expand Up @@ -341,9 +341,9 @@ Here, we read in the anatomical MRI of the participant, and define the coordinat
ft_determine_coordsys(mri);

{% include image src="/assets/img/tutorial/coregistration_opm/mri_notaligned.png" width="400" %}
_Figure: anatomical MRI image with an underdefined coordinate system._
_Figure: anatomical MRI image with an not clearly defined coordinate system._

After reading in the MRI, you can check the coordinate system with ```ft_determine_coordsys```. As the above figure shows, the axes are labelled as 'unknown', but it seems that they are oriented according to the RAS convention, while the origin of the coordinate system is ill-defined. For this reason, we will explicitly impose an anatomical landmark based coordinate system next, which requires interactive identification of the relevant landmarks (nasion, left/right pre auricular points).
After reading in the MRI, you can check the coordinate system with ```ft_determine_coordsys```. As the above figure shows, the axes are labeled as 'unknown', but it seems that they are oriented according to the RAS convention, while the origin of the coordinate system is ill-defined. For this reason, we will explicitly impose an anatomical landmark based coordinate system next, which requires interactive identification of the relevant landmarks (nasion, left/right pre auricular points).

% define a head based coordinate system
cfg = [];
Expand All @@ -367,7 +367,7 @@ Here, we read in the 3D-model from the structure scan, and define a coordinate s
lighting gouraud; material dull; h=light;

{% include image src="/assets/img/tutorial/coregistration_opm/scan_notaligned.png" width="400" %}
_Figure: 3D-model with an underdefined coordinate system._
_Figure: 3D-model with an not clearly defined coordinate system._

In the example model, the coordinate axes' orientations relative to the participant more or less are well-behaved, i.e. the axes are pointing approximately along the left/right, anterior/posterior, and superior inferior directions, but the order of the axes is not conventional. As a first step we might want to assign a better defined coordinate system to the model. Note that the exact coordinate system does not matter too much. Here we define the coordinate system such that the X/Y/Z axes are pointing into the same direction as the head coordinate system defined in the MRI image, i.e. R(ight)A(nterior)S(uperior). We use ```cfg.coordsys='neuromag'``` because this method allows us to approximately indicate the N(asion)/L(eft preauricular point), and R(ight) preauricular point. Note that in the below procedure, the ears are not visible in the model, instead we will use the protruding points on the helmet's rim to define 'l' and 'r'.

Expand Down
2 changes: 1 addition & 1 deletion workshop/sofia2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Tzvetan Popov with local organizers and the generous hardware support by [MBrain

**Session III**

- **9:00 – 10:45** **_Hyperscanning Demo_**: Demonstration and data acquistion of multiple participants in social cognition context [Ivan Gligorijevic](https://rs.linkedin.com/in/ivan-gligorijevic) from [MBrainTrain](https://mbraintrain.com/)
- **9:00 – 10:45** **_Hyperscanning Demo_**: Demonstration and data acquisition of multiple participants in social cognition context [Ivan Gligorijevic](https://rs.linkedin.com/in/ivan-gligorijevic) from [MBrainTrain](https://mbraintrain.com/)
- **10:45 – 11:00** Coffee break
- **11:00 – 12:30** **_Hyperscanning Demo_**: Continued
- **12:30 – 13:30** Lunch
Expand Down

0 comments on commit b4b57c7

Please sign in to comment.