Lead-DBS User Guide
  • Introduction
  • How to contribute to Lead-DBS
  • Installation
  • Lead-DBS
    • Overview
    • Self-Tutoring with Lead-Tutor
    • 1. Load Patient Folder
      • Importing a classic Lead-DBS dataset to BIDS version
    • 2. Image Import
      • Converting NIfTI-images into BIDS
      • Converting DICOM files into BIDS
    • 3. Volume Registrations
      • Coregister Volumes
      • Normalizing the Images
      • Brainshift Correction
      • Checking the Coregistration and Normalization
    • 4. (optional) Surface Reconstruction
    • 5. (optional) Reconstruction of Electrode Trajectories
      • Orientation of Directional Leads
        • Prerequisites
        • Automatic Algorithm
        • Possible Problems with the Automatic Algorithm
        • User-Assisted Algorithm (Manual Refine)
      • TRAC/CORE Details
      • Manual Reconstruction
      • Reconstruction File
    • 6. (optional) Perform Connectivity Analysis
    • 7. Visualization
      • MER Analysis
    • Reconstruction Statistics
  • Lead-Group
    • Group analyses with Lead-DBS
    • Setup Analysis
    • General Settings
    • Group Visualization
    • Calculate VTA and Stats
    • Sweetspot Explorer
  • Connectomics
    • Connectomics
      • Diffusion MRI: Patient Specific Processing
      • fMRI-Analysis: Patient Specific Processing
      • Using Normative Connectomes
      • Network Mapping Explorer
      • Fiber Filtering Explorer
    • Lead Connectome Mapper
  • Lead-OR
    • Imaging setup
    • Electrophysiology setup
    • Using the platform
  • Appendix
    • Code Backbone
    • Acquiring and Installing Atlases
      • Customizing Atlas Visualization
    • Troubleshooting / Specific Help
      • Adding Fortran dependencies for VTA modeling
      • VTA Calculation Troubleshoot
    • Command line interface
      • Command line options
    • Matlab scripting examples
      • Installing an atlas from an online repository
      • Warping a normative connectome to native subject space
    • Using Slicer
      • Sweet-sour spot
Powered by GitBook
On this page
  1. Lead-DBS
  2. 5. (optional) Reconstruction of Electrode Trajectories

Reconstruction File

This page might be outdated. We continuously work on updating our documentation, thank you for your patience.

PreviousManual ReconstructionNext6. (optional) Perform Connectivity Analysis

Last updated 1 year ago

The data is stored

  • for BIDS version, under: derivatives/leaddbs/patientID/reconstructions/sub-patientID_desc-reconstruction.mat

  • for classic version under the ea_reconstruction.mat file inside the patient directory.

There is a single variable reco.

reco.native stores reconstruction in native postoperative space, reco.scrf is after subcortical refine (brainshift correction - if it was applied) and reco.mni stores the reconstruction in the mni space.

reco.native.coords stores the coordinates for electrode contacts. For instance, reco.native.coords_mm{2}(3,:) is the left ({2}) third lowest ((3,:)) contact coordinates in x, y, z in native postoperative space.

The indexing of the contacts usually follow the same order as defined by lead manufacture, starting from the bottom. For segmented contacts, different manufacturers may have different order definition. For example, at level 2 of the directed electrode from Boston Scientific(Fig. 1), the order is 2 -> 3 -> 4 (counter-clock wise seen from top). But for Abbott, it’s 1A -> 1B -> 1C (clock wise seen from top)(Fig.2)

Fig 2: Abbott directional lead organization.

Figure 1: order of directed electrodes from Boston scientific.