mirror of
https://github.com/triqs/dft_tools
synced 2025-04-18 22:40:24 +02:00

'read_data()' is a generator interpreting a file as a sequence of floats. Lines starting with '#' are ignored. 'read_header_and_data()' reads the header string until a line "# END ...", initializes a generator 'read_data()', and returns them.