Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘Support forum ARCHIVED – Please use Slack Channel instead’ is closed to new topics and replies.
Hello Lead-DBS team,
I would like to see if it is possible to export the code for VTA calculation. I have tried checking the “Render 3D” and selecting the Export Code button, however I keep getting an error:
Error using ea_export (line 8)
Unable to run the
function because it calls the ‘uiputfile’ function, which is not supported
for this product offering.
Error in ea_run (line 80)
Error in lead_dbs>exportcode_Callback (line 1103)
Error in gui_mainfcn (line 95)
Error in lead_dbs (line 43)
Error while evaluating UIControl Callback.
I am not sure if that can be done in that way, since the VTA simmulations is in another gui button in the 3D render.
Looking at the GitHub repository I found the function ea_genvat_dembek, which requires inputs:
I assume that each of the inputs correspond to:
– coords_mm = reco.mni.coords_mm (from ea_reconstruction.mat)
– stimparams = S (from stimparameters.mat)
But I am not able to find what “options” refers to, could you let me know where to find it?
In theory, if I generated the two structs needed, and give the options, could I ran the dembek simulation and generate the nifti files with “VAT=ea_genvat(coords_mm,stimparams,options)”, or do I need any other function?
yes, the export code.. button doesn’t help you there.
But you’re right that the ea_genvat_*.m files should work.
You can generate an options struct by using
…maybe also check out this page for some general advice about how Lead-DBS is built:
|cookielawinfo-checkbox-analytics||11 months||This 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-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checkbox-necessary||11 months||This 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-others||11 months||This 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-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|
|PHPSESSID||session||This 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.|
|_ga||2 years||This 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_1||1 minute||This cookie is set by Google and is used to distinguish users.|
|_gid||1 day||This 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.|
|CONSENT||16 years 5 months 17 days 13 hours||These 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.|
|IDE||1 year 24 days||Used 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_cookie||15 minutes||This cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies.|
|VISITOR_INFO1_LIVE||5 months 27 days||This cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website.|
|vuid||2 years||This 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.|
|YSC||session||This cookies is set by Youtube and is used to track the views of embedded videos.|
|yt-remote-connected-devices||never||No description available.|
|yt-remote-device-id||never||No description available.|