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
Right now, we need a pointer to the head model and source model to run source reconstruction using pop_roi_activity. But technically, we only need a lead field, right?
Can we modify the the pop_roi_activity and roi_activity functions in a way that makes them accept the raw lead field matrix/array instead of requiring pointers? Say we have a pre-computed lead field with the dimension (30 x 5003 x 3), where 30 is the number of channels, 5003 the number of voxels and 3 the orientation and pass this array directly to the function, then we could skip almost all steps and jump right to this line:
For example, you could download a standard lead field here (New York head) and just pass the lead field. So instead of having to run everything here (e.g. pipeline_connectivity)
that prevents arrays from passing through. There are some other error messages after fixing that (adding 'float' to the list) too. But I can work on it then.
Right now, we need a pointer to the head model and source model to run source reconstruction using
pop_roi_activity
. But technically, we only need a lead field, right?Can we modify the the
pop_roi_activity
androi_activity
functions in a way that makes them accept the raw lead field matrix/array instead of requiring pointers? Say we have a pre-computed lead field with the dimension (30 x 5003 x 3), where 30 is the number of channels, 5003 the number of voxels and 3 the orientation and pass this array directly to the function, then we could skip almost all steps and jump right to this line:roiconnect/roi_activity.m
Line 250 in e80177f
For example, you could download a standard lead field here (New York head) and just pass the lead field. So instead of having to run everything here (e.g.
pipeline_connectivity
)we could simply run something like this (of course, you would need to match the EEG channels):
I think this would make the code more flexible. What do you think @arnodelorme?
The text was updated successfully, but these errors were encountered: