CUBEMatConverter.to_omx#

CUBEMatConverter.to_omx(mat_file, out_path=None, *, overwrite=False)[source]#

Convert Cube .MAT to .OMX.

Parameters:
  • mat_file (Path) – Full path to the .mat file.

  • out_path (Path, optional) – Optional path to save output OMX to, if None uses mat_file with “.omx” extension.

  • overwrite (bool, default False) – If False and output OMX already exists will raise FileExistsError.

Returns:

Path to created OMX file.

Return type:

Path

Examples using caf.mat.cube.CUBEMatConverter.to_omx#

Load CUBE .mat

Load CUBE .mat