[Mne_analysis] is it possible to combine labels?

Mads Jensen mje.mads at gmail.com
Tue May 27 08:31:25 EDT 2014
Search archives:

Thanks Andy and Steve,

for the quick and very useful replies. Just what I was looking.

best,
mads

On 27/05/14 12:43, Stephen Politzer-Ahles wrote:
> Hi Mads,
>
> In addition to Andrew's suggestion (which is probably better than the
> following), you can create new labels that are a combination of other
> labels. Check out
> http://freesurfer.net/fswiki/LabelsClutsAnnotationFiles for a
> description of the format of a label file; it's just a list of all the
> vertices in that label (each row is one vertex), so you can paste the
> rows of two files together (other than the first few lines, which are
> the header and you only need once) and update the line near the top that
> gives the count of rows in the label file.
>
> Best,
> Steve
>
>
>
> Stephen Politzer-Ahles
> New York University, Abu Dhabi
> Neuroscience of Language Lab
> http://www.nyu.edu/projects/politzer-ahles/
>
>
> On Tue, May 27, 2014 at 2:30 PM, Andrew R. Dykstra
> <andrew.r.dykstra at gmail.com <mailto:andrew.r.dykstra at gmail.com>> wrote:
>
>     Hi Mads,
>
>     If you have the labels loaded in Python, you should just be able to
>     do label1 + label 2.
>
>     HTH,
>     Andy
>
>
>     On Tue, May 27, 2014 at 11:58 AM, Mads Jensen <mje.mads at gmail.com
>     <mailto:mje.mads at gmail.com>> wrote:
>
>         Hi all,
>
>         Is it possible to combine two or more labels from the Freesurfer
>         segmentation in either MNE or MNE-python?
>
>         What I would like to is for example to combine the lh.BA4a & lh.BA4p
>         labels that are made automatically when running the recon-all.
>
>
>         best wishes,
>         mads
>         _______________________________________________
>         Mne_analysis mailing list
>         Mne_analysis at nmr.mgh.harvard.edu
>         <mailto: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.
>
>
>
>     _______________________________________________
>     Mne_analysis mailing list
>     Mne_analysis at nmr.mgh.harvard.edu
>     <mailto: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.
>
>
>
>
> _______________________________________________
> 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.
>



More information about the Mne_analysis mailing list