A package to analyze any kind of light curve/time series, e.g. with Bayesian Blocks, flare fitting (HOP), and a stochastic processe
Project description
lightcurves
This is the lightcurves repository. Check it out:
See here for scientific application of this code: https://pos.sissa.it/395/868
lc.py
Initialize a LightCurve object based on time, flux and flux_error.
Study its Bayesian block representation (based on Scargle et al. 2013 https://ui.adsabs.harvard.edu/abs/2013arXiv1304.2818S/abstract ).
Characterize flares (start, peak, end time) with the HOP algorithm (following Meyer et al. 2019 https://ui.adsabs.harvard.edu/abs/2019ApJ...877...39M/abstract ). There are four different methods to define flares (baseline, half, flip, sharp) as illustrated in the Jupyter Notebook.
hop.py
Initialize a Hopject to consider parameters of an individual flare.
lc_set
Initialize a (large) sample of light curves to study the distribution of flare parameters whithin that sample.
Reference
If you use this code please cite:
Wagner, S. M., Burd, P., Dorner, D., et al. 2021, PoS, ICRC2021, 868
https://ui.adsabs.harvard.edu/abs/2022icrc.confE.868W/abstract
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 lightcurves-1.1.1.tar.gz.
File metadata
- Download URL: lightcurves-1.1.1.tar.gz
- Upload date:
- Size: 587.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b39a7c46d10c226afc9935511b522a19f90968fcd454c6a3bf59777718d471f
|
|
| MD5 |
2af2ed13781feabf712253a65f11943f
|
|
| BLAKE2b-256 |
2c467a5ee3088fe792a13e0363d6288cf98df33586c2e0845e196a49e44d9f9d
|
Provenance
The following attestation bundles were made for lightcurves-1.1.1.tar.gz:
Publisher:
cd.yml on swagner-astro/lightcurves
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightcurves-1.1.1.tar.gz -
Subject digest:
5b39a7c46d10c226afc9935511b522a19f90968fcd454c6a3bf59777718d471f - Sigstore transparency entry: 422781545
- Sigstore integration time:
-
Permalink:
swagner-astro/lightcurves@2f5f4952d94977eec5d01685d83d7f21b1d148ce -
Branch / Tag:
refs/tags/1.1.1 - Owner: https://github.com/swagner-astro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@2f5f4952d94977eec5d01685d83d7f21b1d148ce -
Trigger Event:
release
-
Statement type:
File details
Details for the file lightcurves-1.1.1-py3-none-any.whl.
File metadata
- Download URL: lightcurves-1.1.1-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ebef40a8ff24fe47591c6273443db7ea5f563f0ce351bf3091889b9c0d15bc9
|
|
| MD5 |
edcc181fdc60e1af014c4b778d49d3be
|
|
| BLAKE2b-256 |
72d25cba9b72e0e62243912fc3af1ad45da0f0b8cde786605678509d495b8b0d
|
Provenance
The following attestation bundles were made for lightcurves-1.1.1-py3-none-any.whl:
Publisher:
cd.yml on swagner-astro/lightcurves
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightcurves-1.1.1-py3-none-any.whl -
Subject digest:
7ebef40a8ff24fe47591c6273443db7ea5f563f0ce351bf3091889b9c0d15bc9 - Sigstore transparency entry: 422781558
- Sigstore integration time:
-
Permalink:
swagner-astro/lightcurves@2f5f4952d94977eec5d01685d83d7f21b1d148ce -
Branch / Tag:
refs/tags/1.1.1 - Owner: https://github.com/swagner-astro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@2f5f4952d94977eec5d01685d83d7f21b1d148ce -
Trigger Event:
release
-
Statement type: