Skip to content

Commit

Permalink
Merge branch 'main' into igrf-update-2023
Browse files Browse the repository at this point in the history
  • Loading branch information
santisoler authored Sep 19, 2023
2 parents cc3eca4 + 0587688 commit 63f0763
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions geoscilabs/mag/Simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,11 @@ def profiledata(Binc, Bdec, Bigrf, depth, susc, comp, irt, Q, rinc, rdec, update
xyzLoc[:, 2] += depth

rxLoc = mag.receivers.Point(xyzLoc)
srcField = mag.sources.SourceField(
receiver_list=[rxLoc], parameters=(Bigrf, -Binc, Bdec)
srcField = mag.sources.UniformBackgroundField(
receiver_list=[rxLoc],
amplitude=Bigrf,
inclination=-Binc,
declination=Bdec,
)
survey2D = mag.Survey(srcField)
sim.survey = survey2D
Expand Down

0 comments on commit 63f0763

Please sign in to comment.