Skip to content

Commit

Permalink
FIX - replaced template grad with data grad for dipole fit
Browse files Browse the repository at this point in the history
  • Loading branch information
schoffelen committed Mar 8, 2024
1 parent f710a7c commit ece69d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorial/coregistration_opm.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ Now we can perform the dipole fits.

cfg = [];
cfg.headmodel = headmodel;
cfg.grad = fieldlinebeta2;
cfg.grad = data.grad;
cfg.component = 1;
cfg.gridsearch = 'yes';
cfg.sourcemodel = sourcemodel;
Expand All @@ -382,9 +382,9 @@ We can verify the reconstructed distances as follows. Note that for a real measu
disp(norm(dip08.dip.pos - dip11.dip.pos)*100)
disp(norm(dip08.dip.pos - dip14.dip.pos)*100)

17.3090
12.6005
11.7938
15.4760
10.2201
10.5455

### Definition of the head-based coordinate system

Expand Down

0 comments on commit ece69d1

Please sign in to comment.