Skip to main content

A general Light curve classification framework based on deep learning

Project description

Deep-LC

Deep-LC is open-source and intended for the classification of light curves (LCs) in a gernaral purpose. It utilizes a weakly supervised object detection algorithm to automatically zoom in on the LC and power spectrum (PS) to extract local features. This eliminates the need for manual feature extraction and allows it to be applied to both space- and ground-based observations, as well as multiband LCs with large gaps and nonuniform sampling.

The implenmentaion and performace detail can be found in our paper.

LC component processing animation of TIC 470109695, which is a rotating variable star. Our model can automatically zoom in on the LC and PS to extract local features.

LC component processing

PS component processing animation of KIC 12268220, which is an eclipsing bianry with a $\delta$ Scuti pulsating primary star.

PS component processing

Introduction

Deep-LC is easy to install with pip:

pip install deep-lc

Or install the development version from source:

git clone https://github.com/ckm3/Deep-LC.git
cd Deep-LC
pip install -e .

Quickstart

from deep_lc import DeepLC

# Load model
dl_combined = DeepLC(combined_model="model_path")

# Load light curve
lc = np.load("your_light_curve_path")

# Predict as show intermediate results
prediction, figs = dl_combined.predict(lc, show_intermediate_results=True)

Please visit the quickstart page for details.

Citing

If you are using Deep-LC in your research, please cite our paper and add a footnote of this Github project.

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

Deep-Lightcurve-0.1.0.tar.gz (506.7 kB view details)

Uploaded Source

Built Distribution

Deep_Lightcurve-0.1.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file Deep-Lightcurve-0.1.0.tar.gz.

File metadata

  • Download URL: Deep-Lightcurve-0.1.0.tar.gz
  • Upload date:
  • Size: 506.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for Deep-Lightcurve-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f0739aa5b3677b0bf6785ad8d87e5ba1fe999c34ae692ce3d0293a17bc26be3
MD5 172a28a9ccaf89c47d2644851e1bf4d2
BLAKE2b-256 c28dbd3f9b6eefee37cc377d9685d44f60bd8bb8366a418ff0ee7acdf75ae315

See more details on using hashes here.

File details

Details for the file Deep_Lightcurve-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Deep_Lightcurve-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2465f8e0dd340a402ae32f668d2093cbe19909876895afa8314ad4eddb3ff1
MD5 33a486a4b7da0277fac3dc415ff5eb26
BLAKE2b-256 718e624e9aba15ce752ba0d49dd78d91fd4f34477c90e302bdc95f85bdef0f5c

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page