def parsivel_sampling_area(diameter):
    """ Calculate effective sampling area for Parsivels
    
    Parameters
    ----------
    diameter: np.ndarray or float
        Drop Diameter
    
    Returns
    -------
    Aeff: np.ndarray or float
        Effective Sampling Area
    """
    return 180 * (30 - 0.5 * diameter)
