Skip to main content

Compute the Lafler-Kinman statistic for time series

Project description

This package computes the Lafler-Kinman statistic $\Theta$ for time-series data, incorporating the uncertainties of the flux/magnitude measurements.

Installation

To install the package, run the following command:

pip install lk-stat-package

Usage

Importing the Package

Use the following line of code to import the package:

from lk_stat_package import lk_stat

Computing the Lafler-Kinman Statistic

To compute the Lafler-Kinman statistic, use the lk_stat function as shown below:

theta = lk_stat(periods, magnitude, magnitude_err, time)

Parameters:

  • periods: Array of trial periods.
  • mag: Array of observed magnitudes.
  • magerr: Array of magnitude uncertainties.
  • Time: Array of observation times.

Returns:

  • theta: The Lafler-Kinman statistic for each trial period.

Feel free to contact the author for any questions or contributions!

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

lk_stat_package-0.1.5.tar.gz (165.3 kB view details)

Uploaded Source

Built Distribution

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

lk_stat_package-0.1.5-cp39-cp39-macosx_10_9_x86_64.whl (237.7 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file lk_stat_package-0.1.5.tar.gz.

File metadata

  • Download URL: lk_stat_package-0.1.5.tar.gz
  • Upload date:
  • Size: 165.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for lk_stat_package-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f1410b9129fde5f4da33a8c79249c6c2fe6b380ff04756fb3f05ae17a914d152
MD5 ce198705bb3390bc838d843192601146
BLAKE2b-256 6d2edfcf985b32a97936fdfb29e1887ba6f97ec8f80953dd9a0ef8c5771ba84c

See more details on using hashes here.

File details

Details for the file lk_stat_package-0.1.5-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lk_stat_package-0.1.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4a41d63cf1c83a27c6cd4e86dfeaf50a8a65c783689a568a024a18decd9e6984
MD5 c4034f7da81207d4ded28ced26f3ccae
BLAKE2b-256 cf1e32cae84770e638c85424350801481efd5aef7cb6adc85c7f98bd515909a3

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