"""
carbcor — Placco et al. (2014) carbon abundance evolutionary corrections in Python
===============================================================

Correct observed [C/Fe] abundances for the carbon depletion due to CN processing in the upper red giant branch using the online tool at https://vplacco.pythonanywhere.com/.

Quick start::
    >>> import pandas as pd
    >>> from carbcor import get_carbon_correction, apply_carbon_corrections
    >>>
    >>> # Single star
    >>> get_carbon_correction(logg=0.88, feh=-4.82, cfe=0.50) # GDR3_526285 from Limberg et al. (2025) -- https://ui.adsabs.harvard.edu/abs/2025ApJ...989L..18L/abstract
    >>>
    >>> # Batch from DataFrame
    >>> df = pd.DataFrame({'logg': [0.88], 'feh': [-4.82], 'cfe': [0.50]})
    >>> apply_carbon_corrections(df)

Reference:
    Placco, V.M., Frebel, A., Beers, T.C., & Stancliffe, R.J. 2014, ApJ, 797, 21
"""

__version__ = "1.0.0"

from carbcor.core import (
    BASE_URL,
    apply_carbon_corrections,
    debug_response,
    discover_form,
    get_carbon_correction,
    reset_form_cache,
)

__all__ = [
    "__version__",
    "BASE_URL",
    "apply_carbon_corrections",
    "debug_response",
    "discover_form",
    "get_carbon_correction",
    "reset_form_cache",
]
