convert_filenames

Import in python using from mcot.core._scripts.to_dataframe import convert_filenames

mcot.core._scripts.to_dataframe.convert_filenames(filenames, vol_mask=None, surf_mask=None) → pandas.core.frame.DataFrame[source]

Converts the list of filenames into a single pandas dataframe

Parameters:
  • filenames – sequence of (basename, NIFTI, GIFTI, or CIFTI filename/object)
  • vol_mask – volumetric NIFTI mask
  • surf_mask – surface GIFTI mask
Returns:

dataframe with all the data