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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| ligotimegps-2.1.0.tar.gz | 28.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|