katcbf_vlbi_resample.hdf5_reader module

Load data from MeerKAT beamformer HDF5 files.

class katcbf_vlbi_resample.hdf5_reader.HDF5Reader(files: Mapping[str, File], adc_sample_rate: float, sync_time: Time, start_time: Time | None = None, duration: TimeDelta | None = None, is_cupy: bool = False)

Bases: object

Load data from a MeerKAT beamformer HDF5 file.

property start_spectrum: int

Index of first spectrum that will be returned.

The reference point is the time_base. This is thus the first time_bias that will appear.

property stop_spectrum: int

Index past the last spectrum that will be returned.

See start_spectrum.