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 Distribution

plavchan_gpu-1.0.5.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

plavchan_gpu-1.0.5-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.5.tar.gz.

File metadata

  • Download URL: plavchan_gpu-1.0.5.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for plavchan_gpu-1.0.5.tar.gz
Algorithm Hash digest
SHA256 bfc4253121a25f43a709f81d319d02afd9c7c5edfad9b8c888fb027b2e9e9c00
MD5 2ca93edc7936e1cbc9bdb3541a391063
BLAKE2b-256 35319fe78384a1c7196e7505c89fe984297557a2122f1e4a751d56f99a6e29ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plavchan_gpu-1.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e028fbf2a1590f3ad5bfa27c9dc2dfd1ef47fcb52e7e791e676735c3a69720d8
MD5 4505f7e2b6aec5a8e8352e6fb4daed8d
BLAKE2b-256 efa4ff4741ff9e4d7a6d39e7c27d9a82c67ed4fde516935c0701922c0b65de5f

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