info

baseband.mark5b.info(name, **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.

Parameters:
namestr or filehandle, or sequence of str

File name, filehandle, or sequence of file names.

**kwargs

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

Returns:
info

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.