> For the complete documentation index, see [llms.txt](https://netstim.gitbook.io/leaddbs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://netstim.gitbook.io/leaddbs/lead-dbs/self-tutoring-with-lead-tutor.md).

# Self-Tutoring with Lead-Tutor

With the publication of Lead Tutor, we came up with a package that is ideal for self-tutoring Lead-DBS based electrode localizations, which includes

* A [scientific paper](https://apertureneuro.org/article/129658-lead-tutor-an-open-access-educational-resource-for-deep-brain-stimulation-electrode-localizations) summarizing the effort
* A [dataset](https://osf.io/jxecg/?view_only=f2765a6aa3604dea8afa14365b70381c) of anonymized imaging data from ten DBS patients
* A tool (integrated into Lead-DBS) that you can used to check your results

Get started by downloading the dataset and paper (links above). Load up the dataset in Lead-DBS and start localizing.

<figure><img src="/files/SIzEdI8aP711YWbHyyn7" alt=""><figcaption><p>After loading the downloaded Lead Tutor dataset to Lead-DBS, a button to "Submit Results..." appears in the top right.</p></figcaption></figure>

After loading the downloaded Lead Tutor dataset to Lead-DBS, a button to "Submit Results..." appears in the top right. Once you are happy with your localizations, you can submit results to have Lead Tutor automatically compare them with ground truth expert localizations made on the same subjects.

<figure><img src="/files/VBsI1zDInjwaODJHBKx9" alt=""><figcaption><p>Lead Tutor result: This page, shown once clicking "Submit results..." will give you feedback on how accurate the results were.</p></figcaption></figure>

The resulting page, shown once clicking "Submit results..." will give you feedback on how accurate the results were. You can repeat the process as often as you would like, either by starting from scratch or by refining your localizations.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://netstim.gitbook.io/leaddbs/lead-dbs/self-tutoring-with-lead-tutor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
