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.2.tar.gz (149.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.2-cp39-cp39-macosx_10_9_x86_64.whl (223.6 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: lk_stat_package-0.1.2.tar.gz
  • Upload date:
  • Size: 149.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.2.tar.gz
Algorithm Hash digest
SHA256 c3a5784f32be64d1c19f9b4b926acae09214af16532bd243ea9933c7daf57aba
MD5 5d854aa953b2a6f8f770cff966c323cb
BLAKE2b-256 2572d68273927ef50511961486f66ded5d37882b778c2d25b2ef4ffd9e07b397

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lk_stat_package-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e6222e7db8c17234a30dac1cd42c5c8acba45f37627fd1e5bc8756c9742db5de
MD5 e1ecef9da6e40b964d3803229a35880b
BLAKE2b-256 47625e2ce312655a10bbfa32147d44aef46790c443e30d195fa371a9cfbead51

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