Skip to main content

A Cython-based package for computing the Laffler-Kinman statistic.

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.3.tar.gz (151.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: lk_stat_package-0.1.3.tar.gz
  • Upload date:
  • Size: 151.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for lk_stat_package-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d1df3d4a9bc5ff6e61fa9f4e8e1891e7a01e2a2ee90d88c694b0b90eb52401c7
MD5 87beed85e0856ee8cfd3b7dafcaab5ab
BLAKE2b-256 1a050b3b266dbb644938102d4f4f407559f1835cf6cd4f475de011a87cbb75cf

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