ligotimegps-2.1.0
توضیحات
A pure Python version of lal.LIGOTimeGPS
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ligotimegps-2.1.0 |
| نام | ligotimegps |
| نسخه کتابخانه | 2.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Duncan Macleod <duncan.macleod@ligo.org> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ligotimegps/ |
| مجوز | GPL-3.0-or-later |
# 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.
[](http://badge.fury.io/py/ligotimegps)
[](https://anaconda.org/conda-forge/ligotimegps/)
[](https://choosealicense.com/licenses/gpl-3.0/)

## 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](//wiki.ligo.org/DASWG/LALSuite)) 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
```bash
python -m pip install ligotimegps
```
## How to use
```python
>>> from ligotimegps import LIGOTimeGPS
>>> t = LIGOTimeGPS(12345, 67890)
>>> print(t)
12345.00006789
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl ligotimegps-2.1.0:
pip install ligotimegps-2.1.0.whl
نصب پکیج tar.gz ligotimegps-2.1.0:
pip install ligotimegps-2.1.0.tar.gz