LAL Utilities (gwpy.utils.lal)#

Utilities for interacting with the LIGO Algorithm Library.

This module requires lal >= 6.14.0.

Functions#

find_typed_function(...)

Return the lal method for the correct type.

from_lal_type(laltype)

Convert the data type of a LAL instance or type into a numpy data type.

from_lal_unit(lunit)

Convert a LALUnit` into a Unit.

to_lal_ligotimegps(gps)

Convert the given GPS time to a lal.LIGOTimeGPS object.

to_lal_type_str(pytype)

Convert the input python type to a LAL type string.

to_lal_unit(astropy_unit)

Convert the input unit into a lal.Unit and a scaling factor.

Variables#

LALFFTPlanType

Type alias for LAL FFT plan types

LALFrequencySeriesType

Type alias for LAL FrequencySeries types

LALTimeSeriesType

Type alias for LAL TimeSeries types

LALVectorType

Type alias for LAL Vector types

LALWindowType

Type alias for LAL Window types

LAL_DETECTORS

Mapping of IFO names to lal.FrDetector objects

LAL_NUMPY_FROM_TYPE_STR

Mapping of LAL type str to numpy types

LAL_TYPE_FROM_NUMPY

Mapping of numpy types to LAL type int

LAL_TYPE_FROM_STR

Mapping of LAL type str to type int

LAL_TYPE_REGEX

Regular expression to match LAL type strings

LAL_TYPE_STR

Mapping of LAL type int to type str

LAL_TYPE_STR_FROM_NUMPY

Mapping of numpy types to LAL type str