phys2cvr.io.load_txt

phys2cvr.io.load_txt(fname, shape=None)[source]

Read files in textual format.

Parameters:
fnamestr | os.PathLike

Path to the txt file.

shapeNone | 'square' | 'rectangle'

Shape of matrix, if empty, skip check.

Returns:
mtxnumpy.ndarray

Data matrix.

See also

utils.check_array_dim