Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate GARDEL #731

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

chinmaychinara91
Copy link
Collaborator

@chinmaychinara91 chinmaychinara91 commented Aug 2, 2024

[WORK IN PROGRESS. DESCRIPTION WILL BE UPDATED]

About GARDEL: link

Test data: link

  • GARDEL as plugin
  • Automatic sEEG Contact Localization and Labeling using GARDEL (within Brainstorm)
  • Start GARDEL standalone GUI from Brainstorm
  • Create temporary folder for loading things back from GARDEL to Brainstorm subject
  • Once done with GARDEL tool, load data back to Brainstorm

sCt = bst_memory('GetMri', CtFile);
sCt = in_mri_bst(CtFile);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would not be better to use bst_memory('LoadMri', MriFile) to avoid reloading the CT file if it's already in memory?

This comment was marked as resolved.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh sorry never mind. I just misread it. Yes you are right LoadMri and not GetMri.

@chinmaychinara91
Copy link
Collaborator Author

165e5dc merge captures important bug fixes for iEEG Panel based on PR #710

When the user imports a CT file, we can end up with: one file (unprocessed) or, two files (the unprocessed file and the processed file)
- unprocessed file ends with `_volct_raw`
- processed file ends with `_volct'
- exports the imported MRI file and the unprocessed CT file as NIfTI files
- `GARDEL` menu option shows up only if there is an unprocessed CT file present in the node
- `NiiRefMriFile` and `NiiRawCtFile` variables have the full path of the NIfTI files in the tmp directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants