surfa.load_affine#

surfa.load_affine(filename, fmt=None)#

Load an Affine from file.

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

  • fmt (str, optional) – Forced file format. If None (default), file format is extrapolated from extension.

Returns

Loaded affine.

Return type

Affine