Skip to content

Commit 730a283

Browse files
Merge pull request #802 from josefbak/patch-1
Corrected function name
2 parents be6c792 + 735abea commit 730a283

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/electrodes2bem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Furthermore, it is necessary to provide the voxel coordinates of the same fiduci
4040
vox2head = mri.transform; % transformation matrix of individual MRI
4141

4242
% transform voxel indices to MRI head coordinates
43-
head_Nas = warp_apply(vox2head, vox_Nas, 'homogenous'); % nasion
44-
head_Lpa = warp_apply(vox2head, vox_Lpa, 'homogenous'); % Left preauricular
45-
head_Rpa = warp_apply(vox2head, vox_Rpa, 'homogenous'); % Right preauricular
43+
head_Nas = ft_warp_apply(vox2head, vox_Nas, 'homogenous'); % nasion
44+
head_Lpa = ft_warp_apply(vox2head, vox_Lpa, 'homogenous'); % Left preauricular
45+
head_Rpa = ft_warp_apply(vox2head, vox_Rpa, 'homogenous'); % Right preauricular
4646

4747
elec_mri.chanpos = [
4848
head_Nas

0 commit comments

Comments
 (0)