From eb1562846eed78330837981d6992977bc1074c87 Mon Sep 17 00:00:00 2001 From: landmanbester Date: Tue, 20 Aug 2024 09:13:43 +0200 Subject: [PATCH] add natural grad to hci --- pfb/parser/hci.yaml | 5 +++++ pfb/workers/hci.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pfb/parser/hci.yaml b/pfb/parser/hci.yaml index f89116aa1..266593c20 100644 --- a/pfb/parser/hci.yaml +++ b/pfb/parser/hci.yaml @@ -155,6 +155,11 @@ inputs: default: false info: Concatenate gains and times across scan + natural-grad: + dtype: bool + default: false + info: + Compute naural gradient _include: - (.)gridding.yml diff --git a/pfb/workers/hci.py b/pfb/workers/hci.py index 0ce33ed79..2f48040a6 100644 --- a/pfb/workers/hci.py +++ b/pfb/workers/hci.py @@ -296,7 +296,7 @@ def _hci(**kw): if opts.concat_time: gds = xr.concat(gds, 'gain_time') - import ipdb; ipdb.set_trace() + # import ipdb; ipdb.set_trace()