[mne-python] Storage of lead field

Hi

After computing a foward solution, how are the lead field components laid out in the fwd['sol']['data'] NumPy array?

Say I have 10 sources, and fwd['sol']['data'].shape == (248, 30): are the indices for the first source's components (0, 1, 2) or (0, 10, 20)?

Thanks,
Marmaduke

hi,

After computing a foward solution, how are the lead field components laid out in the fwd['sol']['data'] NumPy array?

yes

Say I have 10 sources, and fwd['sol']['data'].shape == (248, 30): are the indices for the first source's components (0, 1, 2) or (0, 10, 20)?

0, 1, 2 is one physical location.

HTH
Alex