lapy.io¶
Functions to read and write spectra and vertex functions.
- lapy.io.read_ev(filename)¶
Load EV file.
- lapy.io.read_vfunc(filename)¶
Import vertex functions from txt file.
Values can be separated by
;
or,
and surrounded by{}
or()
brackets. Also first line can have the keyword “Solution:”, i.e. the PSOL format from ShapeDNA.
- lapy.io.write_ev(filename, d)¶
Save EV data structures as txt file (format from ShapeDNA).
- lapy.io.write_vfunc(filename, vfunc)¶
Save vertex in PSOL txt file.
First line “Solution:”, “,” separated values inside ()
- Parameters:
- filename
str
Filename to save to.
- vfuncarray_like
List of vfunc parameters.
- filename