Mark5BFileReaderInfo

class baseband.mark5b.file_info.Mark5BFileReaderInfo(parent=None)[source] [edit on github]

Bases: baseband.vlbi_base.file_info.VLBIFileReaderInfo

Attributes Summary

attr_names

bps

Link to parent.bps

checks

Link to checks

complex_data

decodable

Whether decoding the first frame worked.

errors

Link to errors

format

The file format.

frame0

First frame from the file.

frame_rate

Number of frames per unit time.

header0

Header of the first frame in the file.

kday

Link to parent.kday

missing

Link to missing

nchan

Link to parent.nchan

number_of_frames

Total number of frames.

readable

Whether the file is readable and decodable.

ref_time

Link to parent.ref_time

sample_rate

Rate of complete samples per unit time.

sample_shape

Dimensions of each complete sample.

samples_per_frame

Number of complete samples in each frame.

start_time

Time of the first sample.

time_info

Additional time info needed to get the start time.

warnings

Link to warnings

Methods Summary

__call__(self)

Create a dict with file information.

Attributes Documentation

attr_names = ('format', 'number_of_frames', 'frame_rate', 'sample_rate', 'samples_per_frame', 'sample_shape', 'bps', 'complex_data', 'start_time', 'readable', 'missing', 'checks', 'errors', 'warnings')
bps

Link to parent.bps

checks

Link to checks

complex_data = False
decodable

Whether decoding the first frame worked.

errors

Link to errors

format

The file format.

frame0

First frame from the file.

frame_rate

Number of frames per unit time.

header0

Header of the first frame in the file.

kday

Link to parent.kday

missing

Link to missing

nchan

Link to parent.nchan

number_of_frames

Total number of frames.

readable

Whether the file is readable and decodable.

ref_time

Link to parent.ref_time

sample_rate

Rate of complete samples per unit time.

sample_shape

Dimensions of each complete sample.

samples_per_frame

Number of complete samples in each frame.

start_time

Time of the first sample.

time_info

Additional time info needed to get the start time.

warnings

Link to warnings

Methods Documentation

__call__(self) [edit on github]

Create a dict with file information.

This includes information about checks done, possible missing information, as well as possible warnings and errors.