It may be a typo. Numpy.fft has irfft2 but not rifft2
>>> from properimage import single_image as s
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "properimage/single_image.py", line 74, in <module>
_ifftwn = np.fft.rifft2
AttributeError: 'module' object has no attribute 'rifft2'
It may be a typo. Numpy.fft has irfft2 but not rifft2