Expand description
Reading and writing for SFS in the numpy npy format.
The npy format is described here. Only a subset required to read/write an SFS is supported. Only simple type descriptors for the basic integer and float types are supported. In addition, only reading/writing C-order is supported; trying to read a Fortran-order npy file will result in a run-time error.
Functionsยง
- read_
sfs - Reads an SFS in npy format from a reader.
- read_
sfs_ from_ path - Reads an SFS in npy format from a file path.
- write_
sfs - Writes an SFS in npy format to a writer.
- write_
sfs_ to_ path - Writes an SFS in npy format to a file path.