tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_io_numpy_save Module Reference

Implementation of saving multidimensional arrays to npy files. More...

Data Types

interface  save_npy
 

Functions/Subroutines

pure character(len=:) function, allocatable, public npy_header (vtype, vshape)
 Generate header for npy format.
 

Detailed Description

Implementation of saving multidimensional arrays to npy files.

Function/Subroutine Documentation

◆ npy_header()

pure character(len=:) function, allocatable, public tblite_io_numpy_save::npy_header ( character(len=*), intent(in) vtype,
integer, dimension(:), intent(in) vshape )

Generate header for npy format.

Parameters
[in]vtypeType of variable
[in]vshapeShape of variable
Returns
Header string for npy format