Describe the new feature or enhancement
Current VertexSelect-related functions, such as rendering the line plot at clicking on the brain after stc.plot(), pass vertex indexes only to the event. Therefore, subscribed functions need to down-sample again in order to map to the actual source index. By passing the source index, we could save repeated computation.
Describe your proposed implementation
Investigating the logic of VertexSelect enables proper parameter (source index) transmission to subscribed methods.
Describe possible alternatives
N/A
Additional context
No response
Describe the new feature or enhancement
Current VertexSelect-related functions, such as rendering the line plot at clicking on the brain after stc.plot(), pass vertex indexes only to the event. Therefore, subscribed functions need to down-sample again in order to map to the actual source index. By passing the source index, we could save repeated computation.
Describe your proposed implementation
Investigating the logic of VertexSelect enables proper parameter (source index) transmission to subscribed methods.
Describe possible alternatives
N/A
Additional context
No response