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)
    
    

@@ -86,45 +86,8 @@
 olat
-, energy_mode=True, reference_area=1.
 ):%0A 
@@ -562,166 +562,8 @@
 xel%0A
-    energy_mode : bool%0A        Whether to work in energy-conserving or surface-brightness-conserving mode%0A    reference_area : float%0A        To be determined%0A
     
@@ -621,40 +621,13 @@
 at, 
-int(energy_mode), reference_area
+0, 1.
 )%0A  

Remove options until we actually need and understand them