crowsetta.formats.seq.textgrid.parse.get_float_from_next_line#
- crowsetta.formats.seq.textgrid.parse.get_float_from_next_line(fp: TextIO) float [source]#
Get next line from a text stream, search for a string that matches a float value, and return as a float.
Helper function used by
parse_fp()
, e.g., to parsexmin
andxmax
times of ``IntervalTier``s.- Parameters:
fp (TextIO) – Python text stream from an open TextGrid file.
- Returns:
val
- Return type: