Skip to main content

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: Open In Colab

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

lightcurves-1.1.1.tar.gz (587.4 kB view details)

Uploaded Source

Built Distribution

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

lightcurves-1.1.1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

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

Hashes for lightcurves-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5b39a7c46d10c226afc9935511b522a19f90968fcd454c6a3bf59777718d471f
MD5 2af2ed13781feabf712253a65f11943f
BLAKE2b-256 2c467a5ee3088fe792a13e0363d6288cf98df33586c2e0845e196a49e44d9f9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcurves-1.1.1.tar.gz:

Publisher: cd.yml on swagner-astro/lightcurves

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for lightcurves-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ebef40a8ff24fe47591c6273443db7ea5f563f0ce351bf3091889b9c0d15bc9
MD5 edcc181fdc60e1af014c4b778d49d3be
BLAKE2b-256 72d25cba9b72e0e62243912fc3af1ad45da0f0b8cde786605678509d495b8b0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcurves-1.1.1-py3-none-any.whl:

Publisher: cd.yml on swagner-astro/lightcurves

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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