You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Signed source estimates from mixed surface + volumetric source space #14631
Currently there is no (easy) option for getting signed source estimates in a mixed source space. For example, suppose we want to assess early auditory responses at the auditory and brain stem levels and we need signed source estimates because we want to look as oscillations. One way to do this is by making stcs with full vector solutions for both volumetric brainstem and cortical surface source spaces, then projecting the stc onto the cortical normal while projecting the volumetric sources onto the z-axis in head coordinates. This makes sense physiologically, because brainstem activity is measured well at CZ, i.e. current is oriented along the z-axis. If we set the z-axis as the default "normal" for vol sources in a mixed source space, we can use the project method on our vector stc feeding "normal" to our directions parameter to yield signed source estimates in a mixed source space. Projecting to other directions will still work if directions are provided to the directions parameter.
An alternative is to create subcortical surface source spaces for the brainstem so that projection with directions="normal" works for all sources. However, it seems to me that fixing source estimates normal to the surface of a subcortical surface source space does not make sense physiologically -- I don't think the neuron axons stretch radially from the middle to the outside in the brainstem. :)
I can make a PR for this, but am looking for consensus with other maintainers. Thoughts?
Describe your proposed implementation
Fix the project method for MixedVectorSourceEstimate to use the z-axis as the normal direction when directions="normal". (Currently directions="normal" throws an error if there's a volumetric source space included in the src list)
Activity