def scale_bem(subject_to, bem_name, subject_from=None, scale=None,
              subjects_dir=None):
    subjects_dir, subject_from, _, scale = _scale_params(subject_to,
                                                         subject_from, scale,
                                                         subjects_dir)

    src = bem_fname.format(subjects_dir=subjects_dir, subject=subject_from,
                           name=bem_name)
    dst = bem_fname.format(subjects_dir=subjects_dir, subject=subject_to,
                           name=bem_name)

    if os.path.exists(dst):
        raise IOError("File alredy exists: %s" % dst)

    surfs = read_bem_surfaces(src)
    if len(surfs) != 1:
        raise NotImplementedError("BEM file with more than one surface: %r"
                                  % src)
    surf0 = surfs[0]
    surf0['rr'] = surf0['rr'] * scale
    write_bem_surfaces(dst, surf0)
Retrieve the information of a specific voice message.
dataset/ETHPy150Open mne-tools/mne-python/mne/coreg.py/scale_bem--crossover with--dataset/ETHPy150Open messagebird/python-rest-api/messagebird/client.py/Client.voice_message