Skip to content
/ Deep-LC Public

A Python package for general astrophysical light curve classification

License

Notifications You must be signed in to change notification settings

ckm3/Deep-LC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep-LC

PyPI Image

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-lightcurve

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. All models are avilable on Zenodo.

Citing

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

@misc{cui2023identifying,
      title={Identifying Light-curve Signals with a Deep Learning Based Object Detection Algorithm. II. A General Light Curve Classification Framework}, 
      author={Kaiming Cui and D. J. Armstrong and Fabo Feng},
      year={2023},
      eprint={2311.08080},
      archivePrefix={arXiv},
      primaryClass={astro-ph.IM}
}

About

A Python package for general astrophysical light curve classification

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages