Bits#

class gwpy.timeseries.Bits(
bits: BitsInput,
channel: Channel | str | None = None,
epoch: Time | float | Quantity | None = None,
description: dict[str, str] | None = None,
)[source]#

Bases: list

Definition of the bits in a StateVector.

Parameters:
bitslist

list of bit names

channelChannel, str, optional

data channel associated with this Bits

epochfloat, optional

defining GPS epoch for this Bits

descriptiondict, optional

(bit, desc) dict of longer descriptions for each bit

Attributes Summary

channel

Data channel associated with these Bits.

description

(name, desc) mapping of long bit descriptions.

epoch

Starting GPS time epoch for these Bits.

Attributes Documentation

channel[source]#

Data channel associated with these Bits.

description[source]#

(name, desc) mapping of long bit descriptions.

epoch[source]#

Starting GPS time epoch for these Bits.

This attribute is recorded as a Time object in the GPS format, allowing native conversion into other formats.

See time for details on the Time object.