Skip to main content

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

Project description

This package computes the Laffler-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 Laffler-Kinman Statistic

To compute the Laffler-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 Laffler-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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

lk_stat_package-0.1.4-cp39-cp39-macosx_10_9_x86_64.whl (234.7 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for lk_stat_package-0.1.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e7c93f2eeaf125f65adacac1904a1250a9591e98f6a9b378d5bf477dc1b9483a
MD5 6e0e0da39bc23b940dc974a366d311e8
BLAKE2b-256 55e206970eecfb7ac9c9e0c7c60e864b101638b4b10a7911258fd39ffaff7e68

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