From 16d108749d726d27f34f99848946b1680936d351 Mon Sep 17 00:00:00 2001 From: frohro Date: Sun, 26 May 2024 03:50:18 +0000 Subject: [PATCH] May 25, 2024, 8:50 PM --- Python Files/ image_rejection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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