Lead-DBS
  • Home
  • About
    • Quickstart Primer (Post-OP MR-Scans)
    • Data & Code inclusion philosophy
    • Quickstart Primer (Post-OP CT-Scans)
    • Deep Brain Stimulation
    • Lead Connectome
    • Publications
    • List of Lead-DBS dependencies
    • Citing Lead-DBS
  • News
  • Contact
  • Help/Support
    • Manual
    • Knowledge Base
      • Atlases/Resources
        • Subcortical Atlases (MNI-Space)
        • Cortical Atlas Parcellations (MNI-Space)
        • Macaque Atlases (MNI-Space)
        • The DISTAL atlas
        • FEM-based VTA model
        • Normative Connectomes
      • Lead-DBS Methods
        • Subcortical Electrophysiology Mapping (SEM)
        • AC/PC to MNI conversion
        • Connectivity Benefit Mapping
      • Other Videos
      • Screenshots
      • Walkthrough-Videos
    • Slack User Channel
    • Forum
  • Workshops
    • Past workshops
      • Berlin 2016
      • Shanghai September 2018
      • Hamburg February 2019
    • Berlin September 2019
    • Machine Learning – Berlin September 2019
    • Brisbane February 2020
  • Download
  • Lead-Connectome
  • Search
  • Menu Menu

Modifying position of the electrodes

You are here: Home1 / Forums2 / Support forum ARCHIVED – Please use Slack Channel instead3 / Modifying position of the electrodes4
Viewing 1 post (of 1 total)
  • Author
    Posts
  • 03/21/2019 at 10:45 AM #7039
    maria
    Participant

    Hello Lead DBS Team!

    I have a question regarding electrodes visualization. I am interested in modifying the position of the reconstructed electrodes on ELVIS. The CT image I have used for electrode reconstruction is from a different patient than from the T1 image, but just for visualisation purposes I would like to be able to move the electrodes to a desire target in the patient from the T1 image. I tried looking at the mat file ea_reconstruction.mat

    >>reco.mni

    struct with fields:

    coords_mm: {[8×3 double] [8×3 double]}
    markers: [1×2 struct]
    trajectory: {[50×3 double] [50×3 double]}

    I have tried to add a vector that would represent the translation as such to get a feel of how it could be done:

    Electrode_2 = [0.5,0,0];

    new_reco.mni.coords_mm{1,2} = reco.mni.coords_mm{1,2} + Electrode_2;
    new_reco.mni.trajectory{1,2} = reco.mni.trajectory{1,2} + Electrode_2;

    new_reco.mni.markers(2).head = reco.mni.markers(2).head + Electrode_2;
    new_reco.mni.markers(2).tail = reco.mni.markers(2).tail + Electrode_2;
    new_reco.mni.markers(2).x = reco.mni.markers(2).x + Electrode_2;
    new_reco.mni.markers(2).y = reco.mni.markers(2).y + Electrode_2;

    Which works fine, but I would need to make the head and the tail move indenpendently (let’s say tip [0,2,1], head [1.5 0 1]) However if I do that the electrode completely deforms. I have realised it is due to the variables new_reco.mni.markers(2).x and new_reco.mni.markers(2).y, however I am not sure what this two variable mean, and how to make them stay constant, since checking ea_elspec_boston_vercise_directed.m I saw that the model values are:

    electrode.head_position = [0 0 0.75];
    electrode.tail_position = [0 0 6.75];
    electrode.x_position = [0.65 0 0.75];
    electrode.y_position = [0 0.65 0.75];

    but that doesn’t seem to remain constant after the electrode reconstruction ( subtracting head and tail or x and y in the reco.mni.markers doesn’t give similar results)

    Is there a simpler way to modify the position of the electrodes to visualize in a specific coordinate I may choose? If not is my initial idea a good way to do it? or could I try something else? Also what is the meaning of the x and y components in reco.mni.markers?

    >> reco.mni.markers.x

    ans =

    12.1513 -14.1638 -7.1217

    ans =

    -13.5965 -16.7858 -8.1650

    >> reco.mni.markers.y

    ans =

    12.7529 -13.8990 -7.7418

    ans =

    -13.0312 -16.2178 -8.6009

    >> reco.mni.markers.head

    ans =

    12.7658 -14.2935 -7.2394

    ans =

    -12.9903 -16.5855 -8.0724

    >> reco.mni.markers.tail

    ans =

    14.6941 -8.9302 -3.0777

    ans =

    -15.4147 -11.0993 -4.0677

    Thank you very much,

    Maria

  • Author
    Posts
Viewing 1 post (of 1 total)
  • The forum ‘Support forum ARCHIVED – Please use Slack Channel instead’ is closed to new topics and replies.

Your Account

Log In
Register

Forum Statistics

Registered Users
131
Forums
1
Topics
185
Replies
607
Topic Tags
81

Subscribe to our newsletter

Latest Tweets

  • Tweet Avatar
    leaddbs
    @leaddbs
    RT @JNeuromod: Editor's Choice #openaccess in the current issue! https://t.co/dzs3jy4Gs0 https://t.co/7ybpSMUevp

    2d
  • Tweet Avatar
    leaddbs
    @leaddbs
    Very cool! 👇👇 https://t.co/1x9pfsiFI2

    3d
  • Tweet Avatar
    leaddbs
    @leaddbs
    RT @DrPhilipMosley: Modulation of emotional processing with right (ventromedial) subthalamic low-frequency #deepbrainstimulation Recap… https://t.co/zonHML9Ua2

    3d

Recent Posts

  • Lead-DBS on the cover of NeuroImage
  • Lead-DBS on the cover of Biological Psychiatry
  • Lead-DBS on the cover of Annals of Neurology
  • Crucial methodological updates for Lead-DBS
  • 2nd Lead-DBS Workshop in Shanghai, China

Archives

  • September 2020
  • June 2019
  • November 2018
  • September 2018
  • August 2018
  • March 2018
  • November 2017
  • September 2017
  • July 2017
  • April 2017
  • July 2016
  • June 2016
  • May 2016
  • March 2016
  • December 2015
  • November 2015
  • April 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • July 2014
  • June 2014

Impressum & Datenschutzerklärung

Scroll to top