stream2words

baseband.mark4.header.stream2words(stream, track=None)[source] [edit on github]

Convert a stream of integers to uint32 header words.

Parameters:
streamarray of int

For each int, every bit corresponds to a particular track.

trackint, array, or None, optional

The track to extract. If None (default), extract all tracks that the type of int in the stream can hold.