<commit_before>from ._overlap_wrapper import _computeOverlap

def compute_overlap(ilon, ilat, olon, olat, energy_mode=True, reference_area=1.):
    """
    Compute the overlap between two 'pixels' in spherical coordinates
    
    Parameters
    ----------
    ilon : np.ndarray
        The longitudes defining the four corners of the input pixel
    ilat : np.ndarray
        The latitudes defining the four corners of the input pixel
    olon : np.ndarray
        The longitudes defining the four corners of the output pixel
    olat : np.ndarray
        The latitudes defining the four corners of the output pixel
    energy_mode : bool
        Whether to work in energy-conserving or surface-brightness-conserving mode
    reference_area : float
        To be determined
    """
    return _computeOverlap(ilon, ilat, olon, olat, int(energy_mode), reference_area)
    <commit_msg>Remove options until we actually need and understand them<commit_after>from ._overlap_wrapper import _computeOverlap

def compute_overlap(ilon, ilat, olon, olat):
    """
    Compute the overlap between two 'pixels' in spherical coordinates
    
    Parameters
    ----------
    ilon : np.ndarray
        The longitudes defining the four corners of the input pixel
    ilat : np.ndarray
        The latitudes defining the four corners of the input pixel
    olon : np.ndarray
        The longitudes defining the four corners of the output pixel
    olat : np.ndarray
        The latitudes defining the four corners of the output pixel
    """
    return _computeOverlap(ilon, ilat, olon, olat, 0, 1.)
    
{'fraction_non_alphanumeric': 0.062264150943396226, 'fraction_numerical': 0.0018867924528301887, 'mean_word_length': 2.8523002421307506, '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': '3584125', 'n_tokens_mistral': 435, 'n_tokens_neox': 425, 'n_words': 173}