Lead-DBS
  • Home
  • Slack User Channel
  • About
    • Deep Brain Stimulation
    • Publications
    • Citing Lead-DBS
    • Data & Code inclusion philosophy
    • List of Lead-DBS dependencies
    • Lead Connectome
    • Lead-OR
  • News
  • Help/Support
    • Learn Lead-DBS yourself
    • Slack User Channel
    • Forum
    • Knowledge Base
      • Lead-DBS Methods
        • AC/PC to MNI conversion
        • DBS Network Mapping
        • Subcortical Electrophysiology Mapping (SEM)
      • Atlases/Resources
        • Cortical Atlas Parcellations (MNI-Space)
        • Subcortical Atlases (MNI-Space)
        • The DISTAL atlas
        • Macaque Atlases (MNI-Space)
        • Normative Connectomes
        • IXI Database
      • Walkthrough-Videos
      • Other Videos
      • Screenshots
  • Manual
  • Workshops
    • Brisbane February 2020
    • Machine Learning – Berlin September 2019
    • Berlin September 2019
    • Past workshops
      • Hamburg February 2019
      • Shanghai September 2018
      • Berlin 2016
  • Download
  • Contact
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

Technical Questions

You are here: Home1 / Forums2 / Support Forum (ARCHIVED – Please use Slack Channel instead)3 / Technical Questions4
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • Author
    Posts
  • 06/24/2014 at 3:53 PM #59
    andreashorn
    Keymaster

    Please post questions regarding installation / file-handling and bugs here!

    07/03/2014 at 12:20 AM #119
    Johannes Keyser
    Participant

    Hi there!
    My main GUI window is rather small and looks jumbled around – can I do somthing about it?
    It’s not a deal breaker, but it would be nice if I could read the options in the drop-down menus etc :-).

    In MATLAB, ver() yields

    MATLAB Version: 8.1.0.604 (R2013a)
    MATLAB License Number: XXXXXXXX
    Operating System: Linux 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64
    Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode

    • This reply was modified 10 years, 11 months ago by Johannes Keyser.
    • This reply was modified 10 years, 11 months ago by Johannes Keyser.
    • This reply was modified 10 years, 11 months ago by Johannes Keyser.
    07/03/2014 at 11:38 AM #123
    andreashorn
    Keymaster

    Dear Johannes,

    thanks for this feedback and for trying out the toolbox! We already realized this on a windows machine and adapted the GUI, which has been made on a mac, a bit. However I took the opportunity to re-model the whole GUI to have more space and to get a clearer overview of the workspace this morning. I also entered some tooltip-strings, so if you hover over the GUI elements now, there should be some help displayed. I’ll send you a download-link for the new version soon. Please tell us if the GUI still feels crumpy, because this is very important for the overall user experience, of course.

    Cheers, Andy

    Main GUI

    07/03/2014 at 5:23 PM #168
    Johannes Keyser
    Participant

    Dear Andreas,

    that was quick, thank you very much!
    It looks much better now, and I can read everything. The hints/tooltips are also very useful to have!
    Now let’s see whether I can get it to run with our data :-).

    improved GUI

    08/13/2014 at 7:39 PM #231
    JoseP
    Participant

    Hi Andreas,

    it seems leaddbs is not dealing well with my MRI files in the localization of the electrodes.
    Both of them were acquired in sagital planes, but after your suggestion I named them after the expected notation tra.nii and pre_tra.nii. However, once I have to check the normalization it does not seems correct to me. Do i need to change manually the orientation in these files to be in the axial planes?

    Also, I wanted to visualize the electrodes over the accumbens and caudate nucleus, since accumbens is not in the atlas provided, I thought that Harvard Oxford could be a good choice.
    Is it enough with defining rh and lh folders, and the .nii files for each of these structures?

    cheers
    Jose

    08/13/2014 at 8:46 PM #232
    andreashorn
    Keymaster

    Hi Jose,

    The normalization routines of DBS use (sometimes slightly modified) SPM methods and you could also choose to start off with normalized images directly (normalize them to MNI space using SPM, FSL, Slicer, whatever works). You just have to rename the normalized files to “ltra.nii” and “lpre_tra” respectively.

    You can use the accumbems from the HO atlas, simply isolate it from the atlas file for right and left hemisphere (e.g. Using image calculator) and put the files in a new atlases/subdirectory in /lh and /rh subfolders (or /mixed if you only have one file for lh and rh together). It should then pop up in the toolbox automatically.

    Hope this helps!

    Andy

    08/13/2014 at 8:48 PM #233
    andreashorn
    Keymaster

    Hi everybody,

    in the future, please open up a new discussion for each question, otherwise, this might get a little difficult to read later on!

    Thanks!
    Andy

    11/04/2015 at 11:31 AM #647
    melanogaster
    Participant

    Hello,

    is a complete install of Matlab (all toolboxes) necessary for running LEAD-DBS? And is a special version of Matlab needed?

    I’m asking because i got this error message in Matlab right after >> lead:

    ??? Error using ==> hgload at 53
    invalid Figure file format

    Error in ==> openfig at 72
    [fig, savedvisible] = hgload(filename, struct(‘Visible’,’off’));

    Error in ==> gui_mainfcn>local_openfig at 286
    gui_hFigure = openfig(name, singleton, visible);

    Error in ==> gui_mainfcn at 159
    gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible);

    Error in ==> lead at 42
    gui_mainfcn(gui_State, varargin{:});

    Matlab version 7.9.0 on MAC OSX 10.11

    11/04/2015 at 11:38 AM #648
    andreashorn
    Keymaster

    Dear melanogaster,

    This could actually result from a quite old version of Matlab (2009b) not recognizing figures made with a newer version (2015b). I am not sure about backward compatibilities.
    To the best of my knowledge, lead dbs should run with anything ~2011 on and doesn’t need many toolboxes. statistics, image processing if any.
    We try to develop lead using least possible toolboxes.

    Best, Andy

    12/10/2015 at 6:52 PM #692
    kristen.kanoff
    Participant

    Hi Andreas,

    I am attempting to use the group GUI to plot lead locations for several patients on one image. I set the directory to a folder labeled “STN.” Within this folder are individual patient folders containing the contents of their “out” directory. As soon as I do this, I get the following MATLAB warning:

    Warning: ‘popupmenu’ control requires that ‘Value’ be an integer within String range
    Control will not be rendered until all of its parameter values are valid

    If I proceed from here to add a patient (which I do by selecting their entire subfolder), I get the following MATLAB error:
    Index exceeds matrix dimensions.
    Error in lead_group>refreshvifc (line 744)
    M.stimparams(pt,side).usefiberset=M.stimparams(pt,side).usefiberset{M.ui.fiberspopup};
    Error in lead_group>addptbutton_Callback (line 249)
    refreshvifc(handles);
    Error in gui_mainfcn (line 95)
    feval(varargin{:});
    Error in lead_group (line 42)
    gui_mainfcn(gui_State, varargin{:});
    Error in @(hObject,eventdata)lead_group(‘addptbutton_Callback’,hObject,eventdata,guidata(hObject))
    Error while evaluating UIControl Callback

    Any advice would be very much appreciated.

    Thank you,

    Kristen

    12/10/2015 at 9:41 PM #694
    andreashorn
    Keymaster

    Dear Kristen,

    sorry for this bug since it has already been reported (need to fix it soon). A workaround is to download the group connectome found here (http://www.lead-dbs.org/?page_id=317) and install the files after unzipping them into the lead/fibers folder.
    It’s just that at present lead_group needs these files for the UI elements to work properly.

    Please let us know if other errors occur since lead_group is still a a bit buggy and not well tested by many users yet.

    Best, Andy

    03/25/2016 at 5:51 AM #859
    macbeth83
    Participant

    HI all. Thank you for the wonderful software!
    I have a quick question: when I normalize to MNI the preoperative and postoperative MRI outside LeadDBS (I used SPM) I have two .nii files that I then rename correctly . When I start the reconstruction process though it gives an error saying that a

    file y_ea_normparams.nii is missing

    (I don’t have this file because I didn’t do the coregistration using LeadBDBS).
    Do you have any idea on how to overcome this? I’m using MATLAB 2013b.

    Thank you.

    Best

    03/25/2016 at 2:56 PM #862
    andreashorn
    Keymaster

    Hi macbeth83,

    this used to work in the past but in the novel versions, Lead-DBS performs reconstructions hybridly within patient and MNI space. Thus, a file that warps from subject to MNI space is needed. However, it doesn’t need to be an SPM file, ANTs is also supported. With which software did you normalize your data? Maybe the deformation file mapping from subject to MNI is similarly structured than y_ files or ANTs normalization parameters and we can figure out a workaround for you?

    Best, Andy

    03/25/2016 at 2:58 PM #863
    andreashorn
    Keymaster

    Sorry just saw that you used SPM for the normalization. I think in this case you can just use the y_* file that SPM outputs for this (just make a copy and rename it to y_ea_normparams.nii – should work.

    03/27/2016 at 5:26 PM #867
    macbeth83
    Participant

    Thank you now it works!
    Last question: I am following the instructions regarding the accumbens segmentation from a previous topic.
    Shall I align the oxford atlas template from fsl to mni_hires.nii template from leaddbs folder before running the registration? Where can I find the routines in matlab that control the process of 2D/3D atlas visualization?

    Thank you again.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • The forum ‘Support Forum (ARCHIVED – Please use Slack Channel instead)’ is closed to new topics and replies.

Forum Statistics

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

Subscribe to our newsletter

Recent Posts

  • Lead-DBS 3.0 out now!
  • Lead-OR out now
  • Bug in Lead-DBS v2.5
  • Lead-DBS v2.5 out now!
  • Lead-DBS on the cover of NeuroImage

Archives

  • October 2023
  • August 2021
  • July 2021
  • March 2021
  • 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

Imprint | Privacy Policy

Scroll to top Scroll to top Scroll to top
We use cookies to ensure that we give you the best experience on our website. You may “Accept All” or visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
PHPSESSIDsessionThis cookie is native to PHP applications. The cookie is used to store and identify a users' unique session ID for the purpose of managing user session on the website. The cookie is a session cookies and is deleted when all the browser windows are closed.
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
_ga2 yearsThis cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors.
_gat_gtag_UA_52019623_11 minuteThis cookie is set by Google and is used to distinguish users.
_gid1 dayThis cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form.
Third-party
Cookies from third-party contents on the website.
CookieDurationDescription
CONSENT16 years 5 months 17 days 13 hoursThese cookies are set via embedded youtube-videos. They register anonymous statistical data on for example how many times the video is displayed and what settings are used for playback.No sensitive data is collected unless you log in to your google account, in that case your choices are linked with your account, for example if you click “like” on a video.
IDE1 year 24 daysUsed by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile.
test_cookie15 minutesThis cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE5 months 27 daysThis cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website.
vuid2 yearsThis domain of this cookie is owned by Vimeo. This cookie is used by vimeo to collect tracking information. It sets a unique ID to embed videos to the website.
YSCsessionThis cookies is set by Youtube and is used to track the views of embedded videos.
yt-remote-connected-devicesneverNo description available.
yt-remote-device-idneverNo description available.
SAVE & ACCEPT
Powered by CookieYes Logo