phys2cvr.io.load_txt¶
- phys2cvr.io.load_txt(fname, shape=None)[source]¶
Read files in textual format.
- Parameters:
- fname
str|os.PathLike Path to the txt file.
- shape
None|'square'|'rectangle' Shape of matrix, if empty, skip check.
- fname
- Returns:
- mtx
numpy.ndarray Data matrix.
- mtx
See also
utils.check_array_dim