Skip to content

Use Real Subject Leadfields instead of fsaverage #4

Closed

Description

@orabe

Integrate leadfields generated from real individual subject anatomical data (e.g., using their MRIs and BEM/FEM). Look at datasets from BSI-Zoo.
The simulation framework relies on a leadfield matrix derived from the fsaverage template.

  • Modify the DataSimulator and Benchmark classes to load and use these new real subject leadfield files.
  • Update configuration options to specify paths to individual leadfields.
  • Compare key properties (e.g., magnitudes, column norms/gains, RDM, topographical differences for representative sources) between individual leadfields and the fsaverage leadfield.
  • Visualize these differences.

Activity

  1. self-assigned this
    on May 23, 2025
  2. added
    enhancement
    on May 23, 2025
  3. added theissue type on May 23, 2025
  4. orabe commented on May 23, 2025

    @orabe
    CollaboratorAuthor

    We should modify our implementation to include a subject parameter. The benchmarking loop would then iterate over a list of available subject IDs, loading the corresponding individual leadfield for each.

    Example :

    data_param_grid = {
        "nnz": [5, 8, 10, 20],
        "orientation_type": ["fixed", "free"]
        "snr": [-20, -10, 0, 10, 20],
        # ...
        "subject": ["subject_01", "subject_02", "subject_03", "fsaverage"], # <------ List of subject IDs/names
    }

    See https://github.com/braindatalab/CaliBrain/blob/7110f0f88898f1e06ce140bcfbad33615d3ef4e2/examples/run_experiments.py#L25C1-L30C6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementsimulation

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions