You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MNT: Remove or Reclarify nsem Planewave class #1823
The Planewave class in natural_source/sources.py is not being used and provides some confusion on the user side. I think this class should be removed, redefined, or not exposed to the end user.
Note: The 1D nsem getJ bug I was experiencing originated from the fact that I was accidently declaring sources with the Planewave class instead of PlanewaveXYPrimary. This confusion could be something that comes up with other users.
Current Planewave class from simpeg/electromagnetics/natural_source/sources.py:
class Planewave(BaseFDEMSrc):
"""
Source class for the 1D and pseudo-3D problems.
Parameters
----------
receiver_list : list of simpeg.electromagnetics.frequency_domain.receivers.BaseRx
A list of NSEM receivers
frequency : float
Source frequency
"""
# This class is only provided to have a uniquely identifiable "Planewave" class
pass
Activity