arrayio¶
Array text file IO. Some tools to write and read MD-like 3D arrays.
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
int([x]) -> integer int(x, base=10) -> integer |
|
int([x]) -> integer int(x, base=10) -> integer |
|
|
Read a ini-style file from the header of a text file. |
|
Write ini-style config file from config prefixed with header_comment to file handle fh. |
|
Reshape 2d array arr to 3d array of shape, with 2d chunks aligned along axis. |
|
Read arrays from .txt file using np.loadtxt(). |
|
Write 1d, 2d or 3d arrays to txt file. |