UFMConverter#

class caf.mat.ufm.UFMConverter(saturn_folder)[source]#

Bases: object

Class for converting matrices to and from SATURN’s UFM file format.

Parameters:

saturn_folder (pathlib.Path) – Path to the folder containing SATURN’s EXES and batch files.

Attributes

environment

Environment variables dictionary with saturn_folder added to "PATH".

Methods

__init__(saturn_folder)

csv_to_ufm(csv[, format_, ufm, title])

Conver csv file to UFM format.

omx_to_ufm(omx, *[, overwrite])

Convert a OMX file to a UFM file.

stack(matrices, ufm)

Run SATURN's UFMSTACK to stack matrices into a single UFM.

ufm_to_csv(ufm[, csv, csv_format])

Convert UFM file to a CSV in specific format.

ufm_to_omx(ufm, *[, overwrite])

Convert a UFM file to the OMX format.

ufm_to_square_csvs(ufm, csv_name[, ...])

Convert UFM to separate square CSVs for each level.

Attributes Documentation

environment#

Environment variables dictionary with saturn_folder added to “PATH”.

Examples using caf.mat.ufm.UFMConverter#

CSVs to SATURN .UFM Files

CSVs to SATURN .UFM Files

Interacting with OMX Files

Interacting with OMX Files

SATURN .UFM Files to CSVs

SATURN .UFM Files to CSVs

SATURN UFM to CSV

SATURN UFM to CSV