SimPEG.electromagnetics.natural_source.survey.Data.fromRecArray#
- classmethod Data.fromRecArray(recArray, srcType='primary')[source]#
Class method that reads in a numpy record array to NSEMdata object.
- Parameters
- recArray
numpy.ndarray
Record array with the data. Has to have (‘freq’,’x’,’y’,’z’) columns and some (‘zxx’,’zxy’,’zyx’,’zyy’,’tzx’,’tzy’)
- srcType
str
, default: “primary” The type of SimPEG.EM.NSEM.SrcNSEM to be used. Either “primary” or “total”
- recArray
- Returns
SimPEG.electromagnetics.natural_source.sources.SrcNSEM
Natural source