Metadata-Version: 2.4
Name: plavchan_gpu
Version: 1.0.9
Summary: GPU-accelerated Plavchan periodogram calculation
Author-email: Matteo Paz <matteopi314@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/matteopaz/plavchan-gpu
Project-URL: Repository, https://github.com/matteopaz/plavchan-gpu
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Plavchan-GPU

A GPU-accelerated implementation of the Plavchan periodogram for time series analysis in astronomy.

## Installation

```bash
pip install plavchan_gpu
```

### Requirements

- CUDA-capable GPU and CUDA toolkit > 11.0
- Python 3.6+

## Usage

```python
from plavchan_gpu import plavchan_periodogram

# Example data
mags = [[0.1, 0.2, 0.3], [0.4, 0.5, 0.6]]  # List of magnitude lists for each object
times = [[1.0, 2.0, 3.0], [1.5, 2.5, 3.5]]  # List of time lists for each object
trial_periods = [0.1, 0.2, 0.3, 0.4, 0.5]   # List of trial periods

# Calculate periodogram
result = plavchan_periodogram(mags, times, trial_periods, width=0.1)

# result will be a list of periodogram values for each object and trial period
```

## License

MIT
