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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3a5784f32be64d1c19f9b4b926acae09214af16532bd243ea9933c7daf57aba
|
|
| MD5 |
5d854aa953b2a6f8f770cff966c323cb
|
|
| BLAKE2b-256 |
2572d68273927ef50511961486f66ded5d37882b778c2d25b2ef4ffd9e07b397
|
File details
Details for the file lk_stat_package-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl.
File metadata
- Download URL: lk_stat_package-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 223.6 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6222e7db8c17234a30dac1cd42c5c8acba45f37627fd1e5bc8756c9742db5de
|
|
| MD5 |
e1ecef9da6e40b964d3803229a35880b
|
|
| BLAKE2b-256 |
47625e2ce312655a10bbfa32147d44aef46790c443e30d195fa371a9cfbead51
|