Skip to main content

A package to analyze variability in light curves/ time series

Project description

lightcurves

This is the lightcurve repository. Check it out: Open In Colab
See here for scientific application of this code: https://pos.sissa.it/395/868 Please don't hesitate to reach out if you have questions or new ideas!

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.

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 Distributions

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

Built Distribution

lightcurves-1.0.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file lightcurves-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: lightcurves-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.8

File hashes

Hashes for lightcurves-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48c086310d87ae900ee5d67d51296c7183762702bc03a72314b1dc12a21e4442
MD5 0d025bf230186b8d32d77a233e13cb67
BLAKE2b-256 5bc578ef78349d215b613104802401bae8d90fc820136151046fd7bddad6de1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page