CUBEMatConverter.from_omx#

CUBEMatConverter.from_omx(omx_file, out_path=None, *, overwrite=False)[source]#

Convert OMX to Cube .MAT.

Parameters:
  • omx_file (Path) – Full path to the OMX file.

  • out_path (Path, optional) – Optional path to save output Cube .MAT to, if None uses omx_file with “.mat” extension.

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

Returns:

Path to created Cube MAT file.

Return type:

Path