On 10/20/2014 09:28 PM, John Griffiths wrote:
>
> I'd like to know how to do it for any subject given their MRI and sensor
> layout.
For a subject where you don't have a full DTI (connectivity) pipeline
run, you need to (in Brainstorm or something equally capable)
1) load and segment the MRI
2) load real MEG/EEG data to have the sensor positions/orientations
2.5) align MEG and MRI
3) load TVB cortex, align "correctly" within most inner BEM surface
4) generate lead fields
5) import these lead fields in TVB for simulation
Given that many researchers have T1 and M/EEG for subjects, but not
usually DTI, this is definitely an important workflow.
<speculation>
Step 3 could be semi-automated by noting LPA-RPA-nasion points in
coordinate system of the TVB cortex. When MEG-MRI alignment is done, an
affine transform for the TVB cortex could be applied automatically,
followed by some finer tuning to fit nicely inside the inner BEM surface.
</speculation>
Step 5 could be automated by a new importer in TVB, e.g. loading part or
all of a Brainstorm DB for a given subject.
If you try this, please let us know how it goes.
cheers,
Marmaduke