diff --git a/Python Files/ image_rejection.py b/Python Files/ image_rejection.py index 9f9fc39..b78d64a 100644 --- a/Python Files/ image_rejection.py +++ b/Python Files/ image_rejection.py @@ -3,7 +3,7 @@ def calculate_image_rejection(I, Q): # Calculate the image rejection ratio - image_rejection = 20*np.log10(np.abs(I + 1j*Q)/np.abs(I - 1j*Q)) + image_rejection = 20*np.log10(np.abs(I - 1j*Q)/np.abs(I + 1j*Q)) return image_rejection # Generate example u and v signals