Skip to main content

GPU-accelerated Plavchan periodogram calculation

Project description

Plavchan-GPU

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

Installation

pip install plavchan_gpu

Requirements

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

Usage

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plavchan_gpu-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (225.7 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file plavchan_gpu-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for plavchan_gpu-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d95032d67ee09b5d1f95a61f51b01c512b409d08a7f01ac003a5048b2481d33
MD5 3dbeacbe2daed97ed4be9fa6f0eb5620
BLAKE2b-256 5f6c7350850bb9530a54a914e7f3bffa8b0db11d0902ef01a007fc85459261cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page