def METHOD_NAME():
    """Test that we raise for complex images."""
    img_size = 5
    complex_image = Image(np.ones((img_size, img_size), dtype=np.complex64)) + 2j
    pft = PolarFT(size=img_size, dtype=np.complex64)
    with pytest.raises(TypeError, match=r"The Image `x` must be real valued*"):
        _ = pft.transform(complex_image)