parse_rf_definitions

parse_rf_definitions#

pulserver.protocol.parse_rf_definitions()[source]#

Read the [RfDefinitions] block of a list reply.

Blocks other than the one it reads are ignored. Returns an empty list where the text holds none.

Raises:

ValueError – If the block is not closed, a definition line is not ten values, or the lines of a definition are not the ones its channel and sample counts state.