Metadata-Version: 2.1
Name: lightcurves
Version: 1.0.1
Summary: A package to analyze variability in light curves/ time series
Home-page: https://github.com/swagner-astro/lightcurves
Author: Sarah Maria Wagner
Author-email: sarah.wagner@physik.uni-wuerzburg.de
Project-URL: Bug Tracker, https://github.com/swagner-astro/lightcurves/issues
Project-URL: Reference, https://pos.sissa.it/395/868/
Keywords: variability analysis,lightcurves,astronomy,timeseries
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: astropy
Requires-Dist: lmfit

# lightcurves

This is the lightcurve repository. Check it out: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1OqafFK4FQA_tBwTTnYMG-1D5uhTQ5X0D#scrollTo=european-mechanism) <br>
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 ).<br>
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.<br>






If you use this code please cite: <br>
Wagner, S. M., Burd, P., Dorner, D., et al. 2021, PoS, ICRC2021, 868
<url>https://ui.adsabs.harvard.edu/abs/2022icrc.confE.868W/abstract</url>
