MCPcopy
hub / github.com/mne-tools/mne-python / extract_label_time_course

Method extract_label_time_course

mne/source_estimate.py:604–640  ·  view source on GitHub ↗

Extract label time courses for lists of labels. This function will extract one time course for each label. The way the time courses are extracted depends on the mode parameter. Parameters ---------- %(labels_eltc)s %(src_eltc)s %(mode_eltc)s

(
        self, labels, src, mode="auto", allow_empty=False, verbose=None
    )

Source from the content-addressed store, hash-verified

602
603 @verbose
604 def extract_label_time_course(
605 self, labels, src, mode="auto", allow_empty=False, verbose=None
606 ):
607 """Extract label time courses for lists of labels.
608
609 This function will extract one time course for each label. The way the
610 time courses are extracted depends on the mode parameter.
611
612 Parameters
613 ----------
614 %(labels_eltc)s
615 %(src_eltc)s
616 %(mode_eltc)s
617 %(allow_empty_eltc)s
618 %(verbose)s
619
620 Returns
621 -------
622 %(label_tc_el_returns)s
623
624 See Also
625 --------
626 extract_label_time_course : Extract time courses for multiple STCs.
627
628 Notes
629 -----
630 %(eltc_mode_notes)s
631 """
632 return extract_label_time_course(
633 self,
634 labels,
635 src,
636 mode=mode,
637 return_generator=False,
638 allow_empty=allow_empty,
639 verbose=verbose,
640 )
641
642 @verbose
643 def apply_function(

Callers 9

label_from_stc.pyFile · 0.45
eltcFunction · 0.45
test_make_lcmv_bemFunction · 0.45
add_labelMethod · 0.45

Calls 1

Tested by 4

eltcFunction · 0.36
test_make_lcmv_bemFunction · 0.36