CUBEMatConverter#

class caf.mat.cube.CUBEMatConverter(voyager_path)[source]#

Bases: object

Class for converting to/from CUBE’s .mat format.

Parameters:

voyager_path (Path) – Path to the CUBE Voyager executable file.

Raises:

FileNotFoundError – If voyager_path doesn’t exist, or isn’t a file.

Methods

__init__(voyager_path)

folder_to_omx(folder[, glob])

Convert all ".mat" files in folder to OMX.

from_csv(num_zones, csv_paths, mat_path[, ...])

Convert CSVs to CUBE's .mat format.

from_omx(omx_file[, out_path, overwrite])

Convert OMX to Cube .MAT.

to_omx(mat_file[, out_path, overwrite])

Convert Cube .MAT to .OMX.

Examples using caf.mat.cube.CUBEMatConverter#

CUBE .mat to CSV

CUBE .mat to CSV

Load CUBE .mat

Load CUBE .mat