def _vectorize_fs_surf(file_path):
    '\n    Read surface information from a file and turn it into a vector.\n\n    Parameters\n    ----------\n    file_path : str\n        The path to a file with surface data.\n\n    Returns\n    -------\n    vectorized_data : numpy.ndarray\n        Extracted data.\n\n    '
    img = nb.load(file_path)
    in_data = img.get_fdata().squeeze()
    return in_data
Read surface information from a file and turn it into a vector.

Parameters
----------
file_path : str
    The path to a file with surface data.

Returns
-------
vectorized_data : numpy.ndarray
    Extracted data.
def _vectorize_fs_surf(file_path):
    '\n    Read surface information from a file and turn it into a vector.\n\n    Parameters\n    ----------\n    file_path : str\n        The path to a file with surface data.\n\n    Returns\n    -------\n    vectorized_data : numpy.ndarray\n        Extracted data.\n\n    '
    img = nb.load(file_path)
    in_data = img.get_fdata().squeeze()
    return in_data