Skip to content

Commit

Permalink
Update dual.py to reflect the right channel for HM
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
burningsage authored Aug 27, 2024
1 parent 75291d2 commit e3291da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimPEG/electromagnetics/utils/static_instrument/dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3291da

Please sign in to comment.