Skip to main content

LIGOTimeGPS

This module provides a pure-python version of the LIGOTimeGPS class, used to represent GPS times (number of seconds elapsed since GPS epoch) with nanoseconds precision.

PyPI version Conda version License Supported Python versions

Description

This module is primarily for use as a drop-in replacement for the 'official' lal.LIGOTimeGPS class (provided by the SWIG-python bindings of LAL) for use on those environments where LAL is not available, or building LAL is unnecessary for the application (e.g. testing).

The code provided here is much slower than the C-implementation provided by LAL, so if you really care about performance, don't use this module.

How to install

python -m pip install ligotimegps

How to use

>>> from ligotimegps import LIGOTimeGPS
>>> t = LIGOTimeGPS(12345, 67890)
>>> print(t)
12345.00006789

Metadata

Release files for ligotimegps 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ligotimegps 2.1.0
File Size Uploaded
ligotimegps-2.1.0.tar.gz 28.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ligotimegps 2.1.0
File Interpreter ABI Platform
ligotimegps-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.4 kB

Release files / ligotimegps-2.1.0.tar.gz

Download URL ligotimegps-2.1.0.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d948ffc4d58472b303478a983ec56d2e6a7f35e54cbb351ca6f1292e68398cb2
BLAKE2b-256 checksum
How to use checksums
7e9b521be61daa7603603826d40fa6327a22e04df4f20e69d9ed42182370a7f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

Release files / ligotimegps-2.1.0-py3-none-any.whl

Download URL ligotimegps-2.1.0-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14dbbb07b175b94b4e1a519d7baa4548f0ea07bc71ef7d7f096ad8397d359043
BLAKE2b-256 checksum
How to use checksums
0e9238674acb59c663bcdb69522e11afd3b4e6371f74b5764aeec2e99308cd79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.3

2 release files

1.2.1

1 release file

1.2

1 release file

1.1

3 release files

1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page