A pure-python version of lal.LIGOTimeGPS
Project description
# 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.
This module is primarily for use as a drop-in replacement for the ‘offical’ 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 pip install ligotimegps `
## How to use
`python >>> from ligotimegps import LIGOTimeGPS >>> t = LIGOTimeGPS(12345, 67890) >>> print(t) 12345.00006789 `
## Project status
[![PyPI version](https://badge.fury.io/py/ligotimegps.svg)](http://badge.fury.io/py/ligotimegps) [![Build Status](https://travis-ci.org/lscsoft/ligotimegps.svg?branch=master)](https://travis-ci.org/lscsoft/ligotimegps) [![Coverage Status](https://coveralls.io/repos/github/lscsoft/ligotimegps/badge.svg?branch=master)](https://coveralls.io/github/lscsoft/ligotimegps?branch=master)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ligotimegps-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f13829d0e95713e3aa40ff02d38b36215c01b23deeb807ae27d985afec822a |
|
MD5 | d6362f4e5bd8c524f5636919beb59930 |
|
BLAKE2b-256 | eb352c1c95046ce1d32fe72902d4d5d3083dbe437a4188a903d43ea18bd26970 |
Hashes for ligotimegps-1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb0e92123907f5274a6e561136723788c95bb39d561aebfb38fd231a0b844d2 |
|
MD5 | db1ae7b22ddb66c88f30bee3910c794d |
|
BLAKE2b-256 | bf68b66a99e59daa4ffc7e97f6f80b8e9780d9768c2d8a583f098d28b4a2d046 |