SubintHDU

class baseband_tasks.io.psrfits.SubintHDU(hdu=None, primary_hdu=None, verify=True)[source] [edit on github]

Bases: baseband_tasks.io.psrfits.hdu.HDUWrapper

Base for PSRFITS SUBINT HDU wrappers.

Parameters
hduBinTableHDU instance

The PSRFITS table HDU of SUBINT type.

primaryPSRFITSPrimaryHDU

The wrapped PSRFITS main header.

verify: bool, optional

Whether to do basic verification. Default is True.

Notes

Right now we are assuming the data rows are continuous in time and the frequencies do not vary.

Attributes Summary

bandwidth

data

dtype

Data type of the data.

frequency

mode

nbin

nchan

npol

nrow

polarization

sample_shape

shape

sideband

start_time

Methods Summary

read_data_row(index[, weighted])

verify()

Attributes Documentation

bandwidth
data
dtype

Data type of the data. Inferred from read_data_row(0).

frequency
mode
nbin
nchan
npol
nrow
polarization
sample_shape
shape
sideband
start_time

Methods Documentation

read_data_row(index, weighted=False)[source] [edit on github]
verify()[source] [edit on github]