surfa.load_overlay#

surfa.load_overlay(filename, fmt=None)#

Load a surface Overlay from a 1D array file.

Parameters
  • filename (str or Path) – File path to read.

  • fmt (str, optional) – Explicit file format. If None, we extrapolate from the file extension.

Returns

Loaded overlay.

Return type

Overlay