From e3291da7a66eba9d254a45f713a5e9d9abf05fcd Mon Sep 17 00:00:00 2001 From: "Benjamin R. Bloss" Date: Tue, 27 Aug 2024 12:15:48 +0200 Subject: [PATCH] Update dual.py to reflect the right channel for HM bug fix --- SimPEG/electromagnetics/utils/static_instrument/dual.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimPEG/electromagnetics/utils/static_instrument/dual.py b/SimPEG/electromagnetics/utils/static_instrument/dual.py index 17973ef1aa..0f552a3f76 100644 --- a/SimPEG/electromagnetics/utils/static_instrument/dual.py +++ b/SimPEG/electromagnetics/utils/static_instrument/dual.py @@ -109,7 +109,7 @@ def lm_data(self): @property def hm_data(self): dbdt = self.xyz.dbdt_ch2gt.values - if "dbdt_inuse_ch1gt" in self.xyz.layer_data: + if "dbdt_inuse_ch2gt" in self.xyz.layer_data: dbdt = np.where(self.xyz.dbdt_inuse_ch2gt == 0, np.nan, dbdt) tiltcorrection = self.correct_tilt_pitch_for1Dinv tiltcorrection = np.tile(tiltcorrection, (dbdt.shape[1], 1)).T