<commit_before># Third-party
import astropy.coordinates as coord
import astropy.units as u

__all__ = ['bary_vel_corr']

kitt_peak = coord.EarthLocation.of_site('KPNO')

def bary_vel_corr(time, skycoord, location=None):
    """
    Barycentric velocity correction.

    Uses the ephemeris set with  ``astropy.coordinates.solar_system_ephemeris.set``
    for corrections. For more information see `~astropy.coordinates.solar_system_ephemeris`.<commit_msg>hard code KPNO location<commit_after># Third-party
import astropy.coordinates as coord
import astropy.units as u

__all__ = ['bary_vel_corr']

# kitt_peak = coord.EarthLocation.of_site('KPNO')
# TODO: HACK: approximate
kitt_peak = coord.EarthLocation(lon=-111.6150*u.degree, lat=31.95*u.degree)

def bary_vel_corr(time, skycoord, location=None):
    """
    Barycentric velocity correction.

    Uses the ephemeris set with  ``astropy.coordinates.solar_system_ephemeris.set``
    for corrections. For more information see `~astropy.coordinates.solar_system_ephemeris`.
{'fraction_non_alphanumeric': 0.10176125244618395, 'fraction_numerical': 0.010763209393346379, 'mean_word_length': 5.433962264150943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1036963', 'n_tokens_mistral': 369, 'n_tokens_neox': 337, 'n_words': 76}