info, **kwargs) [edit on github]

Collect Mark5B file information.

First try opening as a binary file and check whether the file is of the correct format. If so, and no required information is missing, re-open as a stream, and get information like the start time, sample rate, etc.

namestr or filehandle, or sequence of str

File name, filehandle, or sequence of file names.


Any other arguments the opener needs to open as a stream.


FileReaderInfo or StreamReaderInfo. In addition to the normal info attributes, also stored are attributes about what happened to the keyword arguments: used_kwargs, consistent_kwargs, inconsistent_kwargs and irrelevant_kwargs.