logfile_parser.swainlab_parser.parse_fields

parse_fields(string, start_trigger, end_trigger=None)[source]

Fields are parsed as key: value

By default the end is an empty newline.

For example

group: YST_1510 field: time start: 0 interval: 300 frames: 180

Return type

Union[DataFrame, Dict[str, Union[str, int, float, bool]]]