'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.
Valid values for mode are:
- \'mean\': Average within each label.
- \'mean_flip\': Average within each label with sign flip depending
on source orientation.
- \'pca_flip\': Apply an SVD to the time courses within each label
and use the scaled and sign-flipped first right-singular vector
as the label time course. The scaling is performed such that the
power of the label time course is the same as the average
per-vertex time course power within the label. The sign of the
resulting time course is adjusted by multiplying it with
"sign(dot(u, flip))" where u is the first left-singular vector,
and flip is a sing-flip vector based on the vertex normals. This
procedure assures that the phase does not randomly change by 180
degrees from one stc to the next.
- \'max\': Max value within each label.
Parameters
labels : Label | list of Label
The labels for which to extract the time courses.
src : list
Source spaces for left and right hemisphere.
mode : str
Extraction mode, see explanation above.
allow_empty : bool
Instead of emitting an error, return all-zero time course for
labels that do not have any vertices in the source estimate.
verbose : bool, str, int, or None
If not None, override default verbose level (see
:func:`mne.verbose` and :ref:`Logging documentation <tut_logging>`
for more).
Returns
label_tc : array, shape=(len(labels), n_times)
Extracted time course for each label.
See Also
extract_label_time_course : extract time courses for multiple STCs'

@verbose
def extract_label_time_course(self, labels, src, mode='mean_flip', allow_empty=False, verbose=None):

    label_tc = extract_label_time_course(self, labels, src, mode=mode, return_generator=False, allow_empty=allow_empty, verbose=verbose)
    return label_tc
