VLBIStreamReaderInfo

class baseband.vlbi_base.file_info.VLBIStreamReaderInfo[source] [edit on github]

Bases: baseband.vlbi_base.file_info.VLBIInfoBase

Standardized information on stream readers.

The info descriptor provides a few standard attributes, all of which can also be accessed directly on the stream filehandle. More detailed information on the underlying file is stored in its info, accessible via info.file_info.

Attributes
start_timeTime

Time of the first complete sample.

stop_timeTime

Time of the complete sample just beyond the end of the file.

sample_rateQuantity

Complete samples per unit of time.

shapetuple

Equivalent shape of the whole file, i.e., combining the number of complete samples and the shape of those samples.

bpsint

Number of bits used to encode each elementary sample.

complex_databool

Whether the data are complex.

readablebool

Whether the first sample could be read and decoded.

Attributes Summary

attr_names

bps

complex_data

format

readable

sample_rate

shape

start_time

stop_time

Methods Summary

__call__(self)

Create a dict with information about the stream and the raw file.

Attributes Documentation

attr_names = ('start_time', 'stop_time', 'sample_rate', 'shape', 'format', 'bps', 'complex_data', 'readable')
bps = None
complex_data = None
format = None
readable = None
sample_rate = None
shape = None
start_time = None
stop_time = None

Methods Documentation

__call__(self)[source] [edit on github]

Create a dict with information about the stream and the raw file.