_consume_data_lines

PlasmaCalcs.mhd.multifluid.mhd_genrad_tables._consume_data_lines(enumlines, *, start=None, Nnums=None, var=None)

eat (i, line) from enumlines until reaching a line that startswith ‘ or *

treat these lines as data; split() and convert from fortran float strs to np.float64.
return (next(enumlines), data), where next(enumlines) is the next line.
start: None or (i, line)
if provided, start here. Otherwise, start at next(enumlines)
Nnums: None or int
if provided, ensure len(data)==N_nums, else crash with FileContentsError.
var: None or str
if provided, included this name in errmsg if crashing with FileContentsError.