def reflection_factor_spherical_wave(impedance, angle, distance, wavenumber):
    w = numerical_distance(impedance, angle, distance, wavenumber)

    F = 1.0 - 1j * np.sqrt(np.pi)*w*np.exp(-w**2.0) * erfc(1j*w)

    plane_factor = reflection_factor_plane_wave(impedance, angle)
    return plane_factor * (1.0 - plane_factor) * F
This @classmethod is optional, but is called automatically before
dataset/ETHPy150Open python-acoustics/python-acoustics/acoustics/reflection.py/reflection_factor_spherical_wave--crossover with--dataset/ETHPy150Open missionpinball/mpf/mpf/devices/new_device_template.py/YourNewDevice.device_class_init