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.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (225.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for plavchan_gpu-1.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64da162dba37298c296e10b103db053a8e88a1a81bff33c0302c6bd61b3c0e1b
MD5 43a5e12329e8aaefffddbca7b6beff61
BLAKE2b-256 e241dcd5cbc532de966df7b8678a0159bcd88941728aa8bcacfd5daecc4480df

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