johnh2o2 / cuvarbase

Python library for fast time-series analysis on CUDA GPUs

Home Page:https://johnh2o2.github.io/cuvarbase/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cuvarbase

John Hoffman (c) 2017

cuvarbase is a Python library that uses PyCUDA to implement several time series tools used in astronomy on GPUs.

See the documentation.

This project is under active development, and currently includes implementations of

  • Generalized Lomb Scargle periodogram
  • Box-least squares (BLS )
  • Non-equispaced fast Fourier transform (adjoint operation) (NFFT paper)
  • Conditional entropy period finder (CE)
  • Phase dispersion minimization (PDM2)
    • Currently operational but minimal unit testing or documentation (yet)

Hopefully future developments will have

  • (Weighted) wavelet transforms
  • Spectrograms (for PDM and GLS)
  • Multiharmonic extensions for GLS

Dependencies

Using multiple GPUs

If you have more than one GPU, you can choose which one to use in a given script by setting the CUDA_DEVICE environment variable:

CUDA_DEVICE=1 python script.py

If anyone is interested in implementing multi-device load-balancing solution, they are encouraged to do so! At some point this may become important, but for the time being manually splitting up the jobs to different GPU's will have to suffice.

About

Python library for fast time-series analysis on CUDA GPUs

https://johnh2o2.github.io/cuvarbase/index.html

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 60.9%Language:Python 31.4%Language:Cuda 7.3%Language:Shell 0.4%