VDIFFileReaderInfo

class baseband.vdif.file_info.VDIFFileReaderInfo(parent=None)[source] [edit on github]

Bases: baseband.vlbi_base.file_info.VLBIFileReaderInfo

Attributes Summary

attr_names

Attributes that the container provides.

bps

Link to header0.bps

checks

Link to checks

complex_data

Link to header0.complex_data

decodable

Whether decoding the first frame worked.

edv

Link to header0.edv

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.

missing

Link to missing

number_of_frames

Total number of frames.

number_of_framesets

readable

Whether the file is readable and decodable.

sample_rate

Rate of complete samples per unit time.

sample_shape

Link to header0.sample_shape

samples_per_frame

Link to header0.samples_per_frame

start_time

Time of the first sample.

thread_ids

warnings

Link to warnings

Methods Summary

__call__(self)

Create a dict with file information.

Attributes Documentation

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

Attributes that the container provides.

bps

Link to header0.bps

checks

Link to checks

complex_data

Link to header0.complex_data

decodable

Whether decoding the first frame worked.

edv

Link to header0.edv

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.

missing

Link to missing

number_of_frames

Total number of frames.

number_of_framesets
readable

Whether the file is readable and decodable.

sample_rate

Rate of complete samples per unit time.

sample_shape

Link to header0.sample_shape

samples_per_frame

Link to header0.samples_per_frame

start_time

Time of the first sample.

thread_ids
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.