def fill(self, src, name=None):
        # find source space patch info
        if self.hemi == 'lh':
            hemi_src = src[0]
        elif self.hemi == 'rh':
            hemi_src = src[1]

        if not np.all(in1d(self.vertices, hemi_src['vertno'])):
            msg = "Source space does not contain all of the label's vertices"
            raise ValueError(msg)

        nearest = hemi_src['nearest']
        if nearest is None:
            warn("Computing patch info for source space, this can take "
                 "a while. In order to avoid this in the future, run "
                 "mne.add_source_space_distances() on the source space "
                 "and save it.")
            add_source_space_distances(src)
            nearest = hemi_src['nearest']

        # find new vertices
        include = in1d(nearest, self.vertices, False)
        vertices = np.nonzero(include)[0]

        # values
        nearest_in_label = digitize(nearest[vertices], self.vertices, True)
        values = self.values[nearest_in_label]
        # pos
        pos = hemi_src['rr'][vertices]

        if name is None:
            name = self.name
        label = Label(vertices, pos, values, self.hemi, self.comment, name,
                      None, self.subject, self.color)
        return label
Returns the iOS URI, or None if CDN is not enabled.
dataset/ETHPy150Open mne-tools/mne-python/mne/label.py/Label.fill--crossover with--dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/StorageClient.get_container_ios_uri