readligo.dq2segs#

Back to Module page

Summary#

This function takes a DQ CHANNEL (as returned by loaddata or getstrain) and the GPS_START time of the channel and returns a segment list. The DQ Channel is assumed to be a 1 Hz channel.

Signature#

def dq2segs(channel, gps_start)
Input variables#

Name

Type

Default

Description

channel

gps_start

Output variables#

Return annotation

Docstring type

Description

None

Docstring#

This function takes a DQ CHANNEL (as returned by loaddata or getstrain) and
the GPS_START time of the channel and returns a segment
list.  The DQ Channel is assumed to be a 1 Hz channel.

Returns of a list of segment GPS start and stop times.