def _get_bem_plotting_surfaces(bem_path):
    surfaces = []
    for (surf_name, color) in (('*inner_skull', '#FF0000'), ('*outer_skull', '#FFFF00'), ('*outer_skin', '#FFAA80')):
        surf_fname = glob(op.join(bem_path, (surf_name + '.surf')))
        if (len(surf_fname) > 0):
            surf_fname = surf_fname[0]
            logger.info(('Using surface: %s' % surf_fname))
            surfaces.append((surf_fname, color))
    return surfaces
def _get_bem_plotting_surfaces(bem_path):
    surfaces = []
    for (surf_name, color) in (('*inner_skull', '#FF0000'), ('*outer_skull', '#FFFF00'), ('*outer_skin', '#FFAA80')):
        surf_fname = glob(op.join(bem_path, (surf_name + '.surf')))
        if (len(surf_fname) > 0):
            surf_fname = surf_fname[0]
            logger.info(('Using surface: %s' % surf_fname))
            surfaces.append((surf_fname, color))
    return surfaces