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