A light curve collection server framework.
Project description
LCC-Server: A light curve collection server framework
This is a Python framework to serve collections of light curves. The code here forms the basis for the HAT data server.
At the moment, it includes the following functionality:
-
collection of light curves from various projects into a single output format
-
HTTP API for searching over multiple light curve collections by:
- filtering on database columns of object properties, e.g. objectid, mag, variability type, variability indices, etc.
- cone-search near specified coordinates
- cross-matching to uploaded object list with objectid, ra, decl
- full-text search on object names, descriptions, etc.
-
HTTP API for generating datasets from search results asychronously, caching results from searches, and generating output zip bundles containing search results and all matching light curves
-
HTTP API for detailed information per object, including light curve plots, external catalog info, and period-finding results plus phased LCs if available
Installation
NOTE: Python >= 3.6 is required. Use of a virtualenv is recommended; something like this will work well:
$ python3 -m venv lcc
$ source lcc/bin/activate
This package is available on PyPI. Install it with the virtualenv activated:
$ pip install numpy # to set up Fortran bindings for dependencies
$ pip install lccserver # add --pre to install unstable versions
To install the latest version from Github:
$ git clone https://github.com/waqasbhatti/lcc-server
$ cd lcc-server
$ pip install -e .
If you're on Linux or MacOS, you can install the uvloop package to optionally speed up some of the eventloop bits:
$ pip install uvloop
Some post-installation setup is required to begin serving light curves. In particular, you will need to set up a base directory where LCC-Server can work from and various sub-directories. Notes on this TBD...
License
LCC-Server is provided under the MIT License. See the LICENSE file for the full text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for lccserver-0.0.1.post0.dev21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 947cb271022a20cc0838df88e89140fb803788a74ebe9b5173c59e5776ae9210 |
|
MD5 | 2468ab0746bd98aac40c22786ad16758 |
|
BLAKE2b-256 | d477b412b0220b36c874726d85fd2f6250d1b9d47a8d99423df78b98a1168a13 |
Hashes for lccserver-0.0.1.post0.dev21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a66c6a3c0bf579f2c18ddad04142f26b98376b4d22519afe4aabc21b5fd027 |
|
MD5 | 3cb133cbf07ed2ac95da7d5dc695cc33 |
|
BLAKE2b-256 | 6e5f743d0bd64747b0498e4a485c42c3802df44a3a3bc9e55c78fdca870d4aaf |