Python client for the Extragalactic Cepheid Database of the Konkoly Observatory
Project description
pyegcdb
pyegcdb is the official Python client for the Konkoly Cepheid Database. It provides astronomers and researchers with a seamless interface to query light curves and stellar catalog data directly within a Python environment.
Installation
You can install the package directly from PyPI:
pip install pyegcdb
Quick Start
To begin using the library, initialize the client and fetch data by the star's name:
from pyegcdb import KonkolyCepheids
# 1. Initialize the client
db = KonkolyCepheids()
# 2. Fetch light curve data for a specific star
star_name = "OGLE LMC-SC1 14252"
lc_df = db.load_datapoints(identifier=star_name, bands=['B'])
# 3. Preview the results
if not lc_df.empty:
print(lc_df.head())
Key Features
- Light Curve Retrieval: Easily download raw photometric time-series data for specific Cepheids.
- Catalog Querying: Perform advanced searches based on galaxy, variable type, or perform a Cone Search (RA/Dec).
- Smart Filtering: Built-in deduplication logic that prioritizes the most recent publication data.
Citation
If you use pyegcdb in your research, please cite our relevant work:
@INPROCEEDINGS{2020svos.conf..115T,
author = {{Tarczay-Neh{\'e}z}, D. and {Szabados}, L. and {Dencs}, Z.},
title = "{Cepheids Near and Far}",
keywords = {Stars: variables: Cepheids, Astronomical databases: miscellaneous, Galaxies: statistics, Stars: statistics, Galaxy: stellar content, (Cosmology:) distance scale},
booktitle = {Stars and their Variability Observed from Space},
year = 2020,
editor = {{Neiner}, C. and {Weiss}, W.~W. and {Baade}, D. and {Griffin}, R.~E. and {Lovekin}, C.~C. and {Moffat}, A.~F.~J.},
month = jan,
pages = {115-118},
adsurl = {https://ui.adsabs.harvard.edu/abs/2020svos.conf..115T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@INPROCEEDINGS{2022eas..conf..420T,
author = {{Tarczay-Neh{\'e}z}, D{\'o}ra and {Dencs}, Zolt{\'a}n and {Szabados}, L{\'a}szl{\'o} and {Moln{\'a}r}, L{\'a}szl{\'o}},
title = "{Extragalactic Cepheid Database}",
booktitle = {EAS2022, European Astronomical Society Annual Meeting},
year = 2022,
month = jul,
eid = {420},
pages = {420},
adsurl = {https://ui.adsabs.harvard.edu/abs/2022eas..conf..420T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
License
This software is released under the [GNU GPLv3] license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyegcdb-0.1.0a1.tar.gz.
File metadata
- Download URL: pyegcdb-0.1.0a1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62a7edb4d10c0fa02b83d35e6e9b88785720718b69b0cf0fb30e7cbc06123604
|
|
| MD5 |
b11bf0db11a390e81f4f0bddacc8ea7d
|
|
| BLAKE2b-256 |
c273dda3cba22655563825db6abfc1fc626ad709b436cdaea8386a1683e0f3c7
|
File details
Details for the file pyegcdb-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: pyegcdb-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3bea5d7dbd9eea6f139256a23553d53d52b5ebeab2ae5e1de27a2ac5a86319f
|
|
| MD5 |
36a4aeaa4cb99db7d7661fdbb500fbc9
|
|
| BLAKE2b-256 |
80c8d1f887365d95a7011356c32530294e3eda46fa4f5fa35bcec841dae51b30
|