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==0.1

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.1.tar.gz (148.8 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.1-cp39-cp39-macosx_10_9_x86_64.whl (72.5 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for lk_stat_package-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e1bbc182376f79dd31465b09608a3d90f4dc5bcef48485a6fb4a3fd9aeebf4f3
MD5 719adaebbf969f758437ee2077c6541c
BLAKE2b-256 a00d7022ea6d34233b215d486d9c30e9290de26aae99dc5f3d7f3a0008e2656b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lk_stat_package-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b4fa221b7e702f05c2529f034923c8cf4b11f89ae4c3a5998be237d3fc713ea5
MD5 df113a9e1b58dd0bb8d1058b76badb00
BLAKE2b-256 7324a412a3d22ee614c76be21276af0152550795af3a9f7fe132131e66d5bd58

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