[Mne_analysis] Identifying adjacent sources

Gladia Hotan gladiach at gmail.com
Tue Mar 6 13:22:54 EST 2018
Search archives:

Hi Alex,

To clarify, after calling stats.rankdata, I still have np.max(tris) = 641,
so mesh_edges adds one more point and the shape of edges is still 642 by
642. Does the extra row/column contain adjacency information for vertex
number 642? I'm still confused by this, since 642 is not an entry in tris.

Best,
Gladia

On Tue, Mar 6, 2018 at 1:14 PM, Gladia Hotan <gladiach at gmail.com> wrote:

> Hi Alex,
>
> That gives the same shape for tris as before, and edges is still 642 by
> 642.
>
> Best,
> Gladia
>
> On Mon, Mar 5, 2018 at 10:43 AM, Alexandre Gramfort <
> alexandre.gramfort at inria.fr> wrote:
>
>> try:
>>
>> tris = stats.rankdata(tris, 'dense').reshape(tris.shape).astype(int) - 1
>>
>> before calling mesh_edges
>>
>> Alex
>>
>>
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you
>> in error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180306/2b6a6102/attachment-0001.html 


More information about the Mne_analysis mailing list