From 28ee2658bcd8b854eda1afa038aa2604e1346a95 Mon Sep 17 00:00:00 2001 From: Josh Dillon Date: Fri, 26 Jul 2024 10:43:23 -0700 Subject: [PATCH] pass through parameter consistently --- notebooks/file_calibration.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/file_calibration.ipynb b/notebooks/file_calibration.ipynb index 549af43..b98f315 100644 --- a/notebooks/file_calibration.ipynb +++ b/notebooks/file_calibration.ipynb @@ -519,7 +519,7 @@ " avg_auto = {(-1, -1, 'ee'): np.mean([data[bl] for bl in auto_bls_to_use], axis=0)}\n", " \n", " # Flag RFI first with channel differences and then with DPSS\n", - " antenna_flags, _ = xrfi.flag_autos(avg_auto, int_count=int_count, nsig=(RFI_NSIG * 5))\n", + " antenna_flags, _ = xrfi.flag_autos(avg_auto, int_count=int_count, nsig=(nsig * 5))\n", " if prior_flags is not None:\n", " antenna_flags[(-1, -1, 'ee')] = prior_flags\n", " _, rfi_flags = xrfi.flag_autos(avg_auto, int_count=int_count, flag_method='dpss_flagger',\n",